How to install write_kafka for collectd in OpenWrt

I have use openwrt VM image in virtualbox.
I am able to connect internet and able to installed collectd,python using opkg install.
But, for kafka plugin, I am not able to loadplugin in collectd.conf.
how to use write_kafka in openwrt.

I tried in another way.

installed kafka python module using pip (pip install kafka).
but when I try to call the import module in python at openwrt ( from kafka import kafkaConsumer)
it shows error,
import error: cannot import name kafkaComsumer.
How to make openwrt collectd connect with my kafka server (another ubuntu host).