becketqin commented on a change in pull request #14711:
URL: https://github.com/apache/flink/pull/14711#discussion_r562419345



##########
File path: 
flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java
##########
@@ -309,7 +309,8 @@ private void assignPendingPartitionSplits() {
 
     private AdminClient getKafkaAdminClient() {
         Properties adminClientProps = new Properties();
-        copyProperty(properties, adminClientProps, 
ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG);
+        adminClientProps.putAll(properties);

Review comment:
       It seems we also need to set the user properties in `getKafkaConsumer()` 
as well in this case. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to