SOHU-Co / kafka-node

Node.js client for Apache Kafka 0.8 and later.
MIT License
2.66k stars 628 forks source link

The "chunk" argument must be of type string or an instance of Buffer or Uint8Array #1459

Open mkscastillo opened 2 years ago

mkscastillo commented 2 years ago
Sending SASL/GSSAPI handshake request to [BrokerWrapper _____ (connected: true) (ready: false) (idle: false) (needAuthentication: true) (authenticated: false)] +0ms
  kafka-node:KafkaClient Sending SASL/GSSAPI authentication request to ______ +1ms
internal/streams/writable.js:285
      throw new ERR_INVALID_ARG_TYPE(
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Error
    at TLSSocket.Writable.write (internal/streams/writable.js:285:13)
....
{
  code: 'ERR_INVALID_ARG_TYPE'
}

Any ideas what could be causing this?

MonteePoke commented 8 months ago

bump