[ 
https://issues.apache.org/jira/browse/KAFKA-18132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902590#comment-17902590
 ] 

Chia-Ping Tsai commented on KAFKA-18132:
----------------------------------------

We expect users to remove the configuration when migrating to AsyncConsumer. 
For end-to-end tests, another solution is to remove the configuration after 
loading the properties when testing AsyncConsumer. Alternatively, we can create 
a separate configuration file specifically for AsyncConsumer-related tests.

I prefer to remove the config directly as it is more simple 

> Remove "session.timeout.ms" from connect-distributed.properties to fix 
> connect e2e
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-18132
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18132
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: 黃竣陽
>            Priority: Major
>
> KAFKA-17338 added configs check for consumer protocol, and 
> `session.timeout.ms` is one of unsupported configs. However, connect.py 
> always load `connect-distributed.properties` to add custom configs and 
> unfortunately it includes `session.timeout.ms`  ...
> In fact, the default value is already 10 secs 
> (https://github.com/apache/kafka/blob/trunk/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedConfig.java#L320).
>  That means we don't need to configure the value by the config files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to