Skip to content

Commit 949bed8

Browse files
committed
Remove hostname too
1 parent dee754f commit 949bed8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/kafkajs/consumer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ const { Kafka } = require('../..').KafkaJS
44
async function consumerStart() {
55
let consumer;
66
const kafka = new Kafka({
7-
brokers: ['pkc-8w6ry7.us-west-2.aws.devel.cpdev.cloud:9092'],
7+
brokers: ['<fill>'],
88
ssl: true,
99
connectionTimeout: 5000,
1010
sasl: {
1111
mechanism: 'plain',
12+
username: '<fill>',
13+
password: '<fill>',
1214
},
1315
rebalanceListener: {
1416
onPartitionsAssigned: async (assignment) => {

examples/kafkajs/producer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { Kafka } = require('../..').KafkaJS
33

44
async function producerStart() {
55
const kafka = new Kafka({
6-
brokers: ['pkc-8w6ry7.us-west-2.aws.devel.cpdev.cloud:9092'],
6+
brokers: ['<fill>'],
77
ssl: true,
88
sasl: {
99
mechanism: 'plain',

0 commit comments

Comments
 (0)