[
https://issues.apache.org/jira/browse/BEAM-11325?focusedWorklogId=538519&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-538519
]
ASF GitHub Bot logged work on BEAM-11325:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Jan/21 15:52
Start Date: 20/Jan/21 15:52
Worklog Time Spent: 10m
Work Description: aromanenko-dev commented on a change in pull request
#13710:
URL: https://github.com/apache/beam/pull/13710#discussion_r561072989
##########
File path:
sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/ReadFromKafkaDoFn.java
##########
@@ -288,6 +316,19 @@ public ProcessContinuation processElement(
Optional.ofNullable(watermarkEstimator.currentWatermark()));
}
try (Consumer<byte[], byte[]> consumer =
consumerFactoryFn.apply(updatedConsumerConfig)) {
+ // Check whether current TopicPartition is still available to read.
+ Set<TopicPartition> existingTopicPartitions = new HashSet<>();
+ for (List<PartitionInfo> topicPartitionList :
consumer.listTopics().values()) {
Review comment:
Ok, let's keep it as it is for now.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 538519)
Time Spent: 1h 40m (was: 1.5h)
> KafkaIO should be able to read from new added topic/partition automatically
> during pipeline execution time
> ----------------------------------------------------------------------------------------------------------
>
> Key: BEAM-11325
> URL: https://issues.apache.org/jira/browse/BEAM-11325
> Project: Beam
> Issue Type: New Feature
> Components: io-java-kafka
> Reporter: Boyuan Zhang
> Priority: P2
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)