-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make init_kafka_producer handle empty broker URL
This is for the case of letting app initialization run even if a producer hasn't been configured. In this scenario, the app would need to explicitly test that safkir/kafka_producer is not None whenever it is being tested.
- Loading branch information
1 parent
f84f178
commit 12708e7
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters