Skip to content

Commit

Permalink
feat: expose kafka stream
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Apr 10, 2021
1 parent a7584c1 commit a1a0e2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkafka.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ module.exports = function pinoKafka(opts) {

inputStream.pipe(through)

through._kafka = kafkaStream

return through;
}

0 comments on commit a1a0e2f

Please sign in to comment.