shanthoosh commented on a change in pull request #918: SAMZA-2094: Implement
the StartpointVisitor for the KafkaSystemConsumer.
URL: https://github.com/apache/samza/pull/918#discussion_r257524023
##########
File path:
samza-kafka/src/main/java/org/apache/samza/system/kafka/KafkaSystemConsumer.java
##########
@@ -141,11 +166,14 @@ public void start() {
private void startSubscription() {
//subscribe to all the registered TopicPartitions
- LOG.info("{}: Consumer subscribes to {}", this,
topicPartitionsToSSP.keySet());
+ Set<TopicPartition> registeredTopicPartitions = new HashSet<>();
+ registeredTopicPartitions.addAll(topicPartitionsToSSP.keySet());
+ registeredTopicPartitions.addAll(topicPartitionToStartpointMap.keySet());
Review comment:
This is no longer necessary, after we'd agreed offline to make the
register(ssp, offset) API to delegate to startpoint-register API.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services