Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #62 from MrAnno/python-deinit
Browse files Browse the repository at this point in the history
KafkaDestination: fix the signature of deinit()
  • Loading branch information
Gábor Nagy authored Sep 7, 2018
2 parents da30873 + 0df4d0c commit 6633821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/chapter_5/section_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class KafkaDestination(LogDestination):
return True
def deinit(self):
return True
pass
def send(self, msg):
msg_string=str(msg)
Expand All @@ -114,7 +114,7 @@ class KafkaDestination(LogDestination):
return False
return True
```
#### Example: syslog-ng configuration file ####
```c
Expand Down Expand Up @@ -152,4 +152,4 @@ log {


### Testing
To test the message sending capabilities, follow the instructions in Apache's [official Kafka documentation](http://kafka.apache.org/documentation.html#gettingStarted).
To test the message sending capabilities, follow the instructions in Apache's [official Kafka documentation](http://kafka.apache.org/documentation.html#gettingStarted).

0 comments on commit 6633821

Please sign in to comment.