public class BatchingCommitter extends ProxyService implements Committer
Implements
CommitterMethods
commitOffset(Offset offset)
public synchronized ApiFuture<Void> commitOffset(Offset offset)
Parameter | |
---|---|
Name | Description |
offset |
Offset |
Returns | |
---|---|
Type | Description |
ApiFuture<Void> |
stop()
protected void stop()
waitUntilEmpty()
public void waitUntilEmpty()
Exceptions | |
---|---|
Type | Description |
CheckedApiException |