Skip to content

Commit b6a0d23

Browse files
Merge branch 'main' into 241006-batch-attempt
2 parents 47f13e5 + 3b64536 commit b6a0d23

File tree

15 files changed

+79
-74
lines changed

15 files changed

+79
-74
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
id 'org.ajoberstar.grgit' version '5.2.2'
2121
id 'io.spring.nohttp' version '0.0.11'
2222
id 'io.spring.dependency-management' version '1.1.6' apply false
23-
id 'com.github.spotbugs' version '6.0.23'
23+
id 'com.github.spotbugs' version '6.0.24'
2424
id 'io.freefair.aggregate-javadoc' version '8.6'
2525
}
2626

@@ -54,13 +54,13 @@ ext {
5454
awaitilityVersion = '4.2.2'
5555
hamcrestVersion = '2.2'
5656
hibernateValidationVersion = '8.0.1.Final'
57-
jacksonBomVersion = '2.17.2'
57+
jacksonBomVersion = '2.18.0'
5858
jaywayJsonPathVersion = '2.9.0'
5959
junit4Version = '4.13.2'
60-
junitJupiterVersion = '5.11.1'
60+
junitJupiterVersion = '5.11.2'
6161
kafkaVersion = '3.8.0'
6262
kotlinCoroutinesVersion = '1.8.1'
63-
log4jVersion = '2.24.0'
63+
log4jVersion = '2.24.1'
6464
micrometerDocsVersion = '1.0.4'
6565
micrometerVersion = '1.14.0-SNAPSHOT'
6666
micrometerTracingVersion = '1.4.0-SNAPSHOT'

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pluginManagement {
66
}
77

88
plugins {
9-
id 'io.spring.develocity.conventions' version '0.0.21'
9+
id 'io.spring.develocity.conventions' version '0.0.22'
1010
}
1111

1212
rootProject.name = 'spring-kafka-dist'

spring-kafka-docs/src/main/antora/modules/ROOT/pages/appendix/change-history.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ Also, a `StringOrBytesSerializer` is now available; it can serialize `byte[]`, `
906906
See xref:kafka/serdes.adoc#messaging-message-conversion[Spring Messaging Message Conversion] for more information.
907907

908908
The `JsonSerializer`, `JsonDeserializer` and `JsonSerde` now have fluent APIs to make programmatic configuration simpler.
909-
See the javadocs, xref:kafka/serdes.adoc[Serialization, Deserialization, and Message Conversion], and xref:streams.adoc#serde[Streams JSON Serialization and Deserialization] for more informaion.
909+
See the javadocs, xref:kafka/serdes.adoc[Serialization, Deserialization, and Message Conversion], and xref:streams.adoc#serde[Streams JSON Serialization and Deserialization] for more information.
910910

911911
[[cb-2-2-and-2-3-replyingkafkatemplate]]
912912
=== ReplyingKafkaTemplate

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/enforced-rebalance.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public ApplicationRunner runner(KafkaTemplate<String, Object> template, KafkaLis
2929
}
3030
----
3131

32-
As the code above shows, the application uses the `KafkaListenerEndpointRegistry` to gain access to the message listener container and then calling the `enforceRebalnce` API on it.
32+
As the code above shows, the application uses the `KafkaListenerEndpointRegistry` to gain access to the message listener container and then calling the `enforceRebalance` API on it.
3333
When calling the `enforceRebalance` on the listener container, it delegates the call to the underlying Kafka consumer.
34-
The Kafka consumer will trigger a rebalance as part of the next `poll()` operation.
34+
The Kafka consumer will trigger a rebalance as part of the next `poll()` operation.

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/listener-annotation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public KafkaListenerContainerFactory<?> batchFactory() {
256256
}
257257
----
258258

259-
NOTE: Starting with version 2.8, you can override the factory's `batchListener` propery using the `batch` property on the `@KafkaListener` annotation.
259+
NOTE: Starting with version 2.8, you can override the factory's `batchListener` property using the `batch` property on the `@KafkaListener` annotation.
260260
This, together with the changes to xref:kafka/annotation-error-handling.adoc#error-handlers[Container Error Handlers] allows the same factory to be used for both record and batch listeners.
261261

262262
NOTE: Starting with version 2.9.6, the container factory has separate setters for the `recordMessageConverter` and `batchMessageConverter` properties.
@@ -404,7 +404,7 @@ public class Listener {
404404
}
405405
----
406406

407-
If, in the unlikely event that you have an actual bean called `__listener`, you can change the expression token byusing the `beanRef` attribute.
407+
If, in the unlikely event that you have an actual bean called `__listener`, you can change the expression token by using the `beanRef` attribute.
408408
The following example shows how to do so:
409409

410410
[source, java]

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/rebalance-listeners.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ containerProperties.setConsumerRebalanceListener(new ConsumerAwareRebalanceListe
5252
----
5353

5454
IMPORTANT: Starting with version 2.4, a new method `onPartitionsLost()` has been added (similar to a method with the same name in `ConsumerRebalanceLister`).
55-
The default implementation on `ConsumerRebalanceLister` simply calls `onPartionsRevoked`.
55+
The default implementation on `ConsumerRebalanceLister` simply calls `onPartitionsRevoked`.
5656
The default implementation on `ConsumerAwareRebalanceListener` does nothing.
5757
When supplying the listener container with a custom listener (of either type), it is important that your implementation does not call `onPartitionsRevoked` from `onPartitionsLost`.
5858
If you implement `ConsumerRebalanceListener` you should override the default method.

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/seek.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Example:
216216
public class MyListener extends AbstractConsumerSeekAware {
217217
218218
@KafkaListener(...)
219-
void listn(...) {
219+
void listen(...) {
220220
...
221221
}
222222
}

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/serdes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public ProducerFactory<Integer, Object> producerFactory(Map<String, Object> conf
349349
----
350350

351351
Starting with version 2.8.3, you can configure the serializer to check if the map key is assignable from the target object, useful when a delegate serializer can serialize sub classes.
352-
In this case, if there are amiguous matches, an ordered `Map`, such as a `LinkedHashMap` should be provided.
352+
In this case, if there are ambiguous matches, an ordered `Map`, such as a `LinkedHashMap` should be provided.
353353

354354
[[by-topic]]
355355
=== By Topic

spring-kafka-docs/src/main/antora/modules/ROOT/pages/streams.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Of course, the `recoverer()` bean can be your own implementation of `ConsumerRec
336336
Starting with version 3.2, Spring for Apache Kafka provides basic facilities required for interactive queries in Kafka Streams.
337337
Interactive queries are useful in stateful Kafka Streams applications since they provide a way to constantly query the stateful stores in the application.
338338
Thus, if an application wants to materialize the current view of the system under consideration, interactive queries provide a way to do that.
339-
To learn more about interacive queries, see this https://kafka.apache.org/36/documentation/streams/developer-guide/interactive-queries.html[article].
339+
To learn more about interactive queries, see this https://kafka.apache.org/36/documentation/streams/developer-guide/interactive-queries.html[article].
340340
The support in Spring for Apache Kafka is centered around an API called `KafkaStreamsInteractiveQueryService` which is a facade around interactive queries APIs in Kafka Streams library.
341341
An application can create an instance of this service as a bean and then later on use it to retrieve the state store by its name.
342342

@@ -376,7 +376,7 @@ Here is the type signature from the API.
376376
public <T> T retrieveQueryableStore(String storeName, QueryableStoreType<T> storeType)
377377
----
378378

379-
When calling this method, the user can specifially ask for the proper state store type, as we have done in the above example.
379+
When calling this method, the user can specifically ask for the proper state store type, as we have done in the above example.
380380

381381
=== Retrying State Store Retrieval
382382

spring-kafka-docs/src/main/antora/modules/ROOT/pages/tips.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void sendToKafka(String in) {
166166
[[tip-json]]
167167
== Customizing the JsonSerializer and JsonDeserializer
168168

169-
The serializer and deserializer support a number of cusomizations using properties, see xref:kafka/serdes.adoc#json-serde[JSON] for more information.
169+
The serializer and deserializer support a number of customizations using properties, see xref:kafka/serdes.adoc#json-serde[JSON] for more information.
170170
The `kafka-clients` code, not Spring, instantiates these objects, unless you inject them directly into the consumer and producer factories.
171171
If you wish to configure the (de)serializer using properties, but wish to use, say, a custom `ObjectMapper`, simply create a subclass and pass the custom mapper into the `super` constructor. For example:
172172

0 commit comments

Comments
 (0)