You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/10/22 15:13:04 UTC
[GitHub] [incubator-druid] Elvis0607 opened a new issue #8715: "group.id" of
ConsumerPropertie be replaced by "kafka-supervisor-%s" in
kafka-indexing-service
Elvis0607 opened a new issue #8715: "group.id" of ConsumerPropertie be replaced by "kafka-supervisor-%s" in kafka-indexing-service
URL: https://github.com/apache/incubator-druid/issues/8715
### Affected Version
druid-0.16.0-incubating
### Description
In the class org.apache.druid.indexing.kafka.KafkaRecordSupplier
the function getKafkaConsumer use default consumerConfigs to overwrite the user's consumerProperties
`private KafkaConsumer<byte[], byte[]> getKafkaConsumer()
{
final Map<String, Object> consumerConfigs =
KafkaConsumerConfigs.getConsumerProperties();
final Properties props = new Properties();
addConsumerPropertiesFromConfig(props, sortingMapper, consumerProperties);
props.putAll(consumerConfigs);
`
here the code
`addConsumerPropertiesFromConfig(props,` sortingMapper, `consumerProperties);`
should be placed after the code
`props.putAll(consumerConfigs);`
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org