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

KafkaDestination: fix the signature of deinit() #62

Merged
merged 1 commit into from
Sep 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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).