kafka python

There is a well-maintained library called kafka-python. Create a program that uses this. Then you will automatically want kafka in your unit tests.

How do you do it? In other words, it seems that various techniques have been devised in Java. http://qiita.com/kmizumar/items/60c60284501bda111065

But what about the python library? …… Speaking of which, kafka-python itself started kafka with subprocess. https://github.com/dpkp/kafka-python/blob/master/test/fixtures.py#L23

The binary distribution of kafka has an easy-to-configure startup file, but kafka-python uses its own configuration file to launch it. It is to be able to set parameters such as the port to bind, and there seems to be nothing more than that.

If it's a very simple library, I wonder if I can test it with the configuration file of the binary distribution.

Recommended Posts

kafka python
Python
Python basics ⑤
python + lottery 6
Python Summary
Built-in python
Python comprehension
Python technique
Studying python
Python 2.7 Countdown
Python memorandum
Python FlowFishMaster
Python service
python tips
python function ①
Python basics
Python memo
ufo-> python (3)
Python comprehension
install python
Python Singleton
Python basics ④
Python Memorandum 2
python memo
Python Jinja2
Python increment
atCoder 173 Python
[Python] function
Python installation
python tips
Installing Python 3.4.3.
Try python
Python memo
Python iterative
Python algorithm
Python2 + word2vec
[Python] Variables
Python functions
Python sys.intern ()
Python tutorial
Python decimals
python underscore
Python summary
Start python
[Python] Sort
Note: Python
Python basics ③
python log
Python basics
[Scraping] Python scraping
Python update (2.6-> 2.7)
python memo
Python memorandum
Python # sort
ufo-> python
Python nslookup
python learning
Hannari Python 2020
[Rpmbuild] Python 3.7.3.
Prorate Python (1)
python memorandum