Polish "Add support for arbitrary producer/consumer Kafka properties"
Closes gh-9775
This commit is contained in:
@@ -968,7 +968,7 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.kafka.consumer.heartbeat-interval= # Expected time in milliseconds between heartbeats to the consumer coordinator.
|
||||
spring.kafka.consumer.key-deserializer= # Deserializer class for keys.
|
||||
spring.kafka.consumer.max-poll-records= # Maximum number of records returned in a single call to poll().
|
||||
spring.kafka.consumer.properties.*= # Additional properties used to configure the client.
|
||||
spring.kafka.consumer.properties.*= # Additional consumer-specific properties used to configure the client.
|
||||
spring.kafka.consumer.ssl.key-password= # Password of the private key in the key store file.
|
||||
spring.kafka.consumer.ssl.keystore-location= # Location of the key store file.
|
||||
spring.kafka.consumer.ssl.keystore-password= # Store password for the key store file.
|
||||
@@ -992,7 +992,7 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.kafka.producer.client-id= # Id to pass to the server when making requests; used for server-side logging.
|
||||
spring.kafka.producer.compression-type= # Compression type for all data generated by the producer.
|
||||
spring.kafka.producer.key-serializer= # Serializer class for keys.
|
||||
spring.kafka.producer.properties.*= # Additional properties used to configure the client.
|
||||
spring.kafka.producer.properties.*= # Additional producer-specific properties used to configure the client.
|
||||
spring.kafka.producer.retries= # When greater than zero, enables retrying of failed sends.
|
||||
spring.kafka.producer.ssl.key-password= # Password of the private key in the key store file.
|
||||
spring.kafka.producer.ssl.keystore-location= # Location of the key store file.
|
||||
|
||||
@@ -5121,9 +5121,12 @@ are not directly supported, use the following:
|
||||
spring,kafka.producer.properties.baz.qux=fiz
|
||||
----
|
||||
|
||||
This sets the common `foo.bar` Kafka property to `baz` (applies to both producers and consumers), the consumer `fiz.buz` property to `qux` and the `baz.qux` producer property to `fiz`.
|
||||
This sets the common `foo.bar` Kafka property to `baz` (applies to both producers and
|
||||
consumers), the consumer `fiz.buz` property to `qux` and the `baz.qux` producer property
|
||||
to `fiz`.
|
||||
|
||||
IMPORTANT: Properties set in this way will override properties that are in the subset that boot explicitly supports.
|
||||
IMPORTANT: Properties set in this way will override any configuration item that Spring
|
||||
Boot explicitly supports.
|
||||
|
||||
[[boot-features-resttemplate]]
|
||||
== Calling REST services with '`RestTemplate`'
|
||||
|
||||
Reference in New Issue
Block a user