@@ -15723,7 +15723,6 @@ public void testMemberJoinsEmptyStreamsGroup() {
15723
15723
public void testStreamsGroupMemberJoiningWithMissingSourceTopic() {
15724
15724
String groupId = "fooup";
15725
15725
String memberId = Uuid.randomUuid().toString();
15726
-
15727
15726
String subtopology1 = "subtopology1";
15728
15727
String fooTopicName = "foo";
15729
15728
Uuid fooTopicId = Uuid.randomUuid();
@@ -15785,9 +15784,11 @@ public void testStreamsGroupMemberJoiningWithMissingSourceTopic() {
15785
15784
List<CoordinatorRecord> expectedRecords = List.of(
15786
15785
StreamsCoordinatorRecordHelpers.newStreamsGroupMemberRecord(groupId, expectedMember),
15787
15786
StreamsCoordinatorRecordHelpers.newStreamsGroupTopologyRecord(groupId, topology),
15788
- StreamsCoordinatorRecordHelpers.newStreamsGroupPartitionMetadataRecord(groupId, Map.of(
15789
- fooTopicName, new org.apache.kafka.coordinator.group.streams.TopicMetadata(fooTopicId, fooTopicName, 6)
15790
- )),
15787
+ StreamsCoordinatorRecordHelpers.newStreamsGroupPartitionMetadataRecord(groupId,
15788
+ Map.of(
15789
+ fooTopicName, new org.apache.kafka.coordinator.group.streams.TopicMetadata(fooTopicId, fooTopicName, 6)
15790
+ )
15791
+ ),
15791
15792
StreamsCoordinatorRecordHelpers.newStreamsGroupEpochRecord(groupId, 1),
15792
15793
StreamsCoordinatorRecordHelpers.newStreamsGroupTargetAssignmentRecord(groupId, memberId, TasksTuple.EMPTY),
15793
15794
StreamsCoordinatorRecordHelpers.newStreamsGroupTargetAssignmentEpochRecord(groupId, 1),
@@ -15801,7 +15802,6 @@ public void testStreamsGroupMemberJoiningWithMissingSourceTopic() {
15801
15802
public void testStreamsGroupMemberJoiningWithMissingInternalTopic() {
15802
15803
String groupId = "fooup";
15803
15804
String memberId = Uuid.randomUuid().toString();
15804
-
15805
15805
String subtopology1 = "subtopology1";
15806
15806
String fooTopicName = "foo";
15807
15807
Uuid fooTopicId = Uuid.randomUuid();
@@ -15836,7 +15836,12 @@ public void testStreamsGroupMemberJoiningWithMissingInternalTopic() {
15836
15836
.setWarmupTasks(List.of()));
15837
15837
15838
15838
assertEquals(
15839
- Map.of(barTopicName, new CreatableTopic().setName(barTopicName).setNumPartitions(6).setReplicationFactor((short) -1)),
15839
+ Map.of(barTopicName,
15840
+ new CreatableTopic()
15841
+ .setName(barTopicName)
15842
+ .setNumPartitions(6)
15843
+ .setReplicationFactor((short) -1)
15844
+ ),
15840
15845
result.response().creatableTopics()
15841
15846
);
15842
15847
assertResponseEquals(
@@ -15881,7 +15886,6 @@ public void testStreamsGroupMemberJoiningWithMissingInternalTopic() {
15881
15886
public void testStreamsGroupMemberJoiningWithIncorrectlyPartitionedTopic() {
15882
15887
String groupId = "fooup";
15883
15888
String memberId = Uuid.randomUuid().toString();
15884
-
15885
15889
String subtopology1 = "subtopology1";
15886
15890
String fooTopicName = "foo";
15887
15891
Uuid fooTopicId = Uuid.randomUuid();
@@ -15964,7 +15968,6 @@ public void testStreamsGroupMemberJoiningWithIncorrectlyPartitionedTopic() {
15964
15968
public void testStreamsGroupMemberJoiningWithStaleTopology() {
15965
15969
String groupId = "fooup";
15966
15970
String memberId = Uuid.randomUuid().toString();
15967
-
15968
15971
String subtopology1 = "subtopology1";
15969
15972
String fooTopicName = "foo";
15970
15973
Uuid fooTopicId = Uuid.randomUuid();
@@ -16059,7 +16062,6 @@ public void testStreamsGroupMemberJoiningWithStaleTopology() {
16059
16062
public void testStreamsUpdatingMemberMetadataTriggersNewTargetAssignment() {
16060
16063
String groupId = "fooup";
16061
16064
String memberId = Uuid.randomUuid().toString();
16062
-
16063
16065
String subtopology1 = "subtopology1";
16064
16066
String fooTopicName = "foo";
16065
16067
Uuid fooTopicId = Uuid.randomUuid();
@@ -16258,7 +16260,6 @@ public void testStreamsNewJoiningMemberTriggersNewTargetAssignment() {
16258
16260
String memberId1 = Uuid.randomUuid().toString();
16259
16261
String memberId2 = Uuid.randomUuid().toString();
16260
16262
String memberId3 = Uuid.randomUuid().toString();
16261
-
16262
16263
String subtopology1 = "subtopology1";
16263
16264
String fooTopicName = "foo";
16264
16265
Uuid fooTopicId = Uuid.randomUuid();
@@ -16354,7 +16355,6 @@ public void testStreamsLeavingMemberBumpsGroupEpoch() {
16354
16355
String groupId = "fooup";
16355
16356
String memberId1 = Uuid.randomUuid().toString();
16356
16357
String memberId2 = Uuid.randomUuid().toString();
16357
-
16358
16358
String subtopology1 = "subtopology1";
16359
16359
String fooTopicName = "foo";
16360
16360
Uuid fooTopicId = Uuid.randomUuid();
@@ -16425,7 +16425,6 @@ public void testStreamsLeavingMemberBumpsGroupEpoch() {
16425
16425
public void testStreamsGroupHeartbeatPartialResponseWhenNothingChanges() {
16426
16426
String groupId = "fooup";
16427
16427
String memberId = Uuid.randomUuid().toString();
16428
-
16429
16428
String subtopology1 = "subtopology1";
16430
16429
String fooTopicName = "foo";
16431
16430
Uuid fooTopicId = Uuid.randomUuid();
@@ -16495,7 +16494,6 @@ public void testStreamsReconciliationProcess() {
16495
16494
String memberId1 = Uuid.randomUuid().toString();
16496
16495
String memberId2 = Uuid.randomUuid().toString();
16497
16496
String memberId3 = Uuid.randomUuid().toString();
16498
-
16499
16497
String subtopology1 = "subtopology1";
16500
16498
String fooTopicName = "foo";
16501
16499
Uuid fooTopicId = Uuid.randomUuid();
@@ -17003,7 +17001,6 @@ public void testStreamsStreamsGroupStates() {
17003
17001
public void testStreamsTaskAssignorExceptionOnRegularHeartbeat() {
17004
17002
String groupId = "fooup";
17005
17003
String memberId1 = Uuid.randomUuid().toString();
17006
-
17007
17004
String subtopology1 = "subtopology1";
17008
17005
String fooTopicName = "foo";
17009
17006
Uuid fooTopicId = Uuid.randomUuid();
@@ -17045,7 +17042,6 @@ public void testStreamsTaskAssignorExceptionOnRegularHeartbeat() {
17045
17042
public void testStreamsPartitionMetadataRefreshedAfterGroupIsLoaded() {
17046
17043
String groupId = "fooup";
17047
17044
String memberId = Uuid.randomUuid().toString();
17048
-
17049
17045
String subtopology1 = "subtopology1";
17050
17046
String fooTopicName = "foo";
17051
17047
Uuid fooTopicId = Uuid.randomUuid();
@@ -17142,7 +17138,6 @@ public void testStreamsPartitionMetadataRefreshedAfterGroupIsLoaded() {
17142
17138
public void testStreamsPartitionMetadataRefreshedAgainAfterWriteFailure() {
17143
17139
String groupId = "fooup";
17144
17140
String memberId = Uuid.randomUuid().toString();
17145
-
17146
17141
String subtopology1 = "subtopology1";
17147
17142
String fooTopicName = "foo";
17148
17143
Uuid fooTopicId = Uuid.randomUuid();
@@ -17259,7 +17254,6 @@ public void testStreamsPartitionMetadataRefreshedAgainAfterWriteFailure() {
17259
17254
public void testStreamsSessionTimeoutLifecycle() {
17260
17255
String groupId = "fooup";
17261
17256
String memberId = Uuid.randomUuid().toString();
17262
-
17263
17257
String subtopology1 = "subtopology1";
17264
17258
String fooTopicName = "foo";
17265
17259
Uuid fooTopicId = Uuid.randomUuid();
@@ -17336,7 +17330,6 @@ public void testStreamsSessionTimeoutLifecycle() {
17336
17330
public void testStreamsSessionTimeoutExpiration() {
17337
17331
String groupId = "fooup";
17338
17332
String memberId = Uuid.randomUuid().toString();
17339
-
17340
17333
String subtopology1 = "subtopology1";
17341
17334
String fooTopicName = "foo";
17342
17335
Uuid fooTopicId = Uuid.randomUuid();
@@ -17402,7 +17395,6 @@ public void testStreamsRebalanceTimeoutLifecycle() {
17402
17395
String groupId = "fooup";
17403
17396
String memberId1 = Uuid.randomUuid().toString();
17404
17397
String memberId2 = Uuid.randomUuid().toString();
17405
-
17406
17398
String subtopology1 = "subtopology1";
17407
17399
String fooTopicName = "foo";
17408
17400
Uuid fooTopicId = Uuid.randomUuid();
@@ -17558,7 +17550,6 @@ public void testStreamsRebalanceTimeoutExpiration() {
17558
17550
String groupId = "fooup";
17559
17551
String memberId1 = Uuid.randomUuid().toString();
17560
17552
String memberId2 = Uuid.randomUuid().toString();
17561
-
17562
17553
String subtopology1 = "subtopology1";
17563
17554
String fooTopicName = "foo";
17564
17555
Uuid fooTopicId = Uuid.randomUuid();
0 commit comments