Created
November 23, 2016 18:50
-
-
Save apurvam/cf304bd625b93f0c98afcbacff515b52 to your computer and use it in GitHub Desktop.
Updating the KakfaConsumer to support transactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Consumer<K,V> extends Closeable { | |
/** | |
* Returns the currently consumed but uncommitted offsets. | |
*/ | |
Map<TopicPartition, OffsetAndMetadata> uncommittedOffsets(); | |
/** | |
* Returns the consumer group id. | |
*/ | |
String groupId(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment