kafka
kafka copied to clipboard
stop using deprecated Buffer constructor in favor of Buffer.alloc/Buffer.from
The rationale for this PR: https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/ Among other things, fixes warnings on Node 10.x