Skip to content

Commit

Permalink
missing "this." (#187)
Browse files Browse the repository at this point in the history
* missing this.

* version up'd
  • Loading branch information
Dletta authored Feb 19, 2024
1 parent f9f58e0 commit 40363e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/outputs/kafkajs/output_kafkajs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ OutputKafka.prototype.start = async function(callback) {
}
}
this.kafka = new Kafka(kconf);
this.producer = kafka.producer()
this.producer = this.kafka.producer()
await this.producer.connect()

this.producer.on('error', (err) => {
Expand Down
2 changes: 1 addition & 1 deletion plugins/outputs/kafkajs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pastash/output_kafkajs",
"version": "1.0.1",
"version": "1.0.2",
"description": "kafkajs Output Plugin for @pastash/pastash",
"main": "output_kafkajs.js",
"scripts": {
Expand Down

0 comments on commit 40363e7

Please sign in to comment.