Skip to content

Commit c012f31

Browse files
committed
* kafka: updated to 4.0.0
Signed-off-by: neo <[email protected]>
1 parent 4bce40c commit c012f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-ng/src/test/java/core/framework/internal/kafka/MessageListenerThreadProcessTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void process() throws InterruptedException {
4848
record("topic1", "key2"),
4949
record("topic1", null)));
5050
entries.put(topic("topic2"), List.of(record("topic2", "key1")));
51-
when(consumer.poll(any())).thenReturn(new ConsumerRecords<>(entries));
51+
when(consumer.poll(any())).thenReturn(new ConsumerRecords<>(entries, Map.of()));
5252

5353
List<KafkaMessages> messages = new ArrayList<>(thread.poll());
5454
assertThat(messages.getFirst().topic).isEqualTo("topic1");

0 commit comments

Comments
 (0)