You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by kk...@apache.org on 2020/03/23 03:15:57 UTC

[kafka] branch 2.4 updated: KAFKA-9563: Fix Kafka Connect documentation around consumer and producer overrides (#8124)

This is an automated email from the ASF dual-hosted git repository.

kkarantasis pushed a commit to branch 2.4
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.4 by this push:
     new 23ce049  KAFKA-9563: Fix Kafka Connect documentation around consumer and producer overrides (#8124)
23ce049 is described below

commit 23ce049572953acd41f567c395c21f635f0da8ac
Author: Hossein Torabi <bl...@gmail.com>
AuthorDate: Mon Mar 23 07:37:21 2020 +0430

    KAFKA-9563: Fix Kafka Connect documentation around consumer and producer overrides (#8124)
    
    Kafka Connect main doc required a fix to distinguish between worker level producer and consumer overrides and per-connector level producer and consumer overrides, after the latter were introduced with KIP-458.
    
    * [KAFKA-9563] Fix Kafka connect consumer and producer override documentation
    
    Co-authored-by: Konstantine Karantasis <ko...@confluent.io>
    
    Reviewers: Konstantine Karantasis <ko...@confluent.io>
---
 docs/connect.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/connect.html b/docs/connect.html
index a92bb04..8101da9 100644
--- a/docs/connect.html
+++ b/docs/connect.html
@@ -56,7 +56,9 @@
         <li><code>offset.storage.file.filename</code> - File to store offset data in</li>
     </ul>
 
-    <p>The parameters that are configured here are intended for producers and consumers used by Kafka Connect to access the configuration, offset and status topics. For configuration of Kafka source and Kafka sink tasks, the same parameters can be used but need to be prefixed with <code>consumer.</code> and <code>producer.</code> respectively. The only parameter that is inherited from the worker configuration is <code>bootstrap.servers</code>, which in most cases will be sufficient, sinc [...]
+    <p>The parameters that are configured here are intended for producers and consumers used by Kafka Connect to access the configuration, offset and status topics. For configuration of the producers used by Kafka source tasks and the consumers used by Kafka sink tasks, the same parameters can be used but need to be prefixed with <code>producer.</code> and <code>consumer.</code> respectively. The only Kafka client parameter that is inherited without a prefix from the worker configuration [...]
+    
+    <p>Starting with 2.3.0, client configuration overrides can be configured individually per connector by using the prefixes <code>producer.override.</code> and <code>consumer.override.</code> for Kafka sources or Kafka sinks respectively. These overrides are included with the rest of the connector's configuration properties.</p>
 
     <p>The remaining parameters are connector configuration files. You may include as many as you want, but all will execute within the same process (on different threads).</p>