I am creating a kafka topic using pykafka python library api using the following code.
from pykafka import KafkaClient
client = KafkaClient(hosts="127.0.0.1:9092")
topic = client.topics[topic_name]
producer = topic.get_producer(sync=True)
producer.produce('message'))
Here the topic is created with only 1 partition as default.How can i assign more than one partition to the topic using pykafka something like
topic.number_of_partitons=3
?