Skip to content

Commit 34dc990

Browse files
committed
Change kafka security protocol
1 parent c013e78 commit 34dc990

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/bin/kafkaConsumer/common/createKafkaConsumer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export const createKafkaConsumer = ({
4747
offset_commit_cb: logCommit(logger),
4848
"enable.auto.commit": false,
4949
"partition.assignment.strategy": "roundrobin",
50+
"security.protocol": "ssl",
51+
"enable.ssl.certificate.verification": false,
5052
}
5153
if (KAFKA_DEBUG_CONTEXTS) {
5254
globalConfig["debug"] = KAFKA_DEBUG_CONTEXTS

0 commit comments

Comments
 (0)