Created
July 25, 2019 08:48
-
-
Save JorgenRingen/e40576c5e7ed113479e258866a5d4c2f to your computer and use it in GitHub Desktop.
Consume partition with initial offset using spring-boot-kafka
This file contains hidden or 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
| @KafkaListener(topics = KafkaSpringBootHelloWorldApplication.TOPIC_USERS, groupId = "${groupId}", | |
| topicPartitions = { | |
| @TopicPartition( | |
| topic = KafkaSpringBootHelloWorldApplication.TOPIC_USERS, | |
| partitionOffsets = @PartitionOffset(partition = "0", initialOffset = "0")) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment