Skip to content

Commit 6c65e3f

Browse files
committed
fix compilation issues
1 parent 6d491dd commit 6c65e3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clients/src/main/java/org/apache/kafka/clients/consumer/internals/StreamsMembershipManager.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ private SortedSet<TopicPartition> topicPartitionsForActiveTasks(final Map<String
916916
final SortedSet<TopicPartition> topicPartitions = new TreeSet<>(TOPIC_PARTITION_COMPARATOR);
917917
activeTasks.forEach((subtopologyId, partitionIds) ->
918918
Stream.concat(
919-
streamsRebalanceData.subtopologies().get(subtopologyId).sourceTopics.stream(),
920-
streamsRebalanceData.subtopologies().get(subtopologyId).repartitionSourceTopics.keySet().stream()
919+
streamsRebalanceData.subtopologies().get(subtopologyId).sourceTopics().stream(),
920+
streamsRebalanceData.subtopologies().get(subtopologyId).repartitionSourceTopics().keySet().stream()
921921
).forEach(topic -> {
922922
for (final int partitionId : partitionIds) {
923923
topicPartitions.add(new TopicPartition(topic, partitionId));
@@ -931,8 +931,8 @@ private SortedSet<TopicPartition> topicPartitionsForActiveTasks(final SortedSet<
931931
final SortedSet<TopicPartition> topicPartitions = new TreeSet<>(TOPIC_PARTITION_COMPARATOR);
932932
activeTasks.forEach(task ->
933933
Stream.concat(
934-
streamsRebalanceData.subtopologies().get(task.subtopologyId()).sourceTopics.stream(),
935-
streamsRebalanceData.subtopologies().get(task.subtopologyId()).repartitionSourceTopics.keySet().stream()
934+
streamsRebalanceData.subtopologies().get(task.subtopologyId()).sourceTopics().stream(),
935+
streamsRebalanceData.subtopologies().get(task.subtopologyId()).repartitionSourceTopics().keySet().stream()
936936
).forEach(topic -> {
937937
topicPartitions.add(new TopicPartition(topic, task.partitionId()));
938938
})

0 commit comments

Comments
 (0)