Skip to content

Commit 4aa5b4e

Browse files
committed
fix(kafka): update broker list configuration to use default hosts
1 parent 6996544 commit 4aa5b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-server/src/kafka/consumer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class KafkaConsumer {
132132
this.consumerConfig = {
133133
'client.id': hostname(),
134134
'security.protocol': defaultConfig.KAFKA_SECURITY_PROTOCOL,
135-
'metadata.broker.list': 'kafka:9092', // Overridden with KAFKA_CONSUMER_METADATA_BROKER_LIST
135+
'metadata.broker.list': defaultConfig.KAFKA_HOSTS, // Overridden with KAFKA_CONSUMER_METADATA_BROKER_LIST
136136
log_level: 4, // WARN as the default
137137
'group.id': this.config.groupId,
138138
'session.timeout.ms': 30_000,

0 commit comments

Comments
 (0)