Skip to content

ssl with sasl dont work #107

@Menogus

Description

@Menogus

example:

const createConsumer = () => {
  return new Consumer({
    clientId: 'my-app',
    groupId,
    bootstrapBrokers: [KAFKA_URL],
    deserializers: stringDeserializers,
    sasl: {
      mechanism: 'scram-sha-512',
      username: KFK_CONS_USR,
      password: KFK_CONS_PWD,
    },
    ssl: {
      rejectUnauthorized: false,
      ca: [fs.readFileSync('ca.crt')],
    }
  });
};

this is ignore ssl and connect show error: findGroupCoordinator failed XXXX times.

on this i cant see parameter: ssl or ca :
https://github.com/platformatic/kafka/blob/main/docs/base.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogThe issue will be solved in the futurebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions