Guest User

Untitled

a guest
Dec 17th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. { Error: No provider for SASL mechanism GSSAPI: recompile librdkafka with libsasl2 or openssl support. Current build options: PLAIN SASL_SCRAM
  2. at Function.createLibrdkafkaError [as create] (/mnt/c/Repo/firm-datahub-api/node_modules/node-rdkafka/lib/error.js:260:10)
  3. at /mnt/c/Repo/firm-datahub-api/node_modules/node-rdkafka/lib/client.js:187:28
  4. message: 'No provider for SASL mechanism GSSAPI: recompile librdkafka with libsasl2 or openssl support. Current build options: PLAIN SASL_SCRAM',
  5. code: -172,
  6. errno: -172,
  7. origin: 'kafka' }
  8.  
  9. producer = new Kafka.Producer({
  10. 'debug': 'protocol,security',
  11. 'dr_cb': true,
  12. 'socket.keepalive.enable': true,
  13. 'message.max.bytes': 17000000,
  14. 'metadata.broker.list': process.env.MY_KAFKA_BROKER_LIST,
  15. 'queue.buffering.max.ms': 100,
  16. 'sasl.kerberos.keytab': "mytab.keytab",
  17. 'sasl.kerberos.principal': 'mytab@domain.INT',
  18. 'sasl.kerberos.service.name': 'myServiceName',
  19. 'security.protocol': 'sasl_plaintext'
  20. });
Add Comment
Please, Sign In to add comment