Skip to content

Commit e595bf2

Browse files
committed
Increase mai.bytes in BatchIndividualRecordObservationTests
1 parent 02fc7d1 commit e595bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/test/java/org/springframework/kafka/support/micrometer/BatchIndividualRecordObservationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ ProducerFactory<Integer, String> producerFactory(EmbeddedKafkaBroker broker) {
187187
@Bean
188188
ConsumerFactory<Integer, String> consumerFactory(EmbeddedKafkaBroker broker) {
189189
Map<String, Object> configs = KafkaTestUtils.consumerProps(broker, "batch-tests", false);
190-
configs.put(ConsumerConfig.FETCH_MIN_BYTES_CONFIG, 54);
190+
configs.put(ConsumerConfig.FETCH_MIN_BYTES_CONFIG, 100);
191191
configs.put(ConsumerConfig.FETCH_MAX_WAIT_MS_CONFIG, 2000);
192192
return new DefaultKafkaConsumerFactory<>(configs);
193193
}

0 commit comments

Comments
 (0)