Kafka agent is not being started getting error

partition metadata for topic kafkatese due to org.apache.kafka.common.errors.LeaderNotAvailableException}] for topic [kafkatese]: class org.apache.kafka.commo
17/05/14 03:22:04 ERROR async.DefaultEventHandler: Failed to send requests for topics kafkatese with correlation ids in [0,8]
17/05/14 03:22:04 ERROR kafka.KafkaSink: Failed to publish events
kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.

me the components on this agent
kandf.sources = logsource
kandf.sinks = ksink
kandf.channels = mchannel

Describe/configure the source

kandf.sources.logsource.type = exec
kandf.sources.logsource.command = tail -F /home/XXXXX/a.txt

# Describe the sink

kandf.sinks.ksink.type = org.apache.flume.sink.kafka.KafkaSink
kandf.sinks.ksink.brokerList = nn02.itversity.com:6667
kandf.sinks.ksink.topic = kafkatese

# Use a channel which buffers events in memory

kandf.channels.mchannel.type = memory
kandf.channels.mchannel.capacity = 1000
kandf.channels.mchannel.transactionCapacity = 100

# Bind the source and sink to the channel

kandf.sources.logsource.channels = mchannel
kandf.sinks.ksink.channel = mchannel

Kindly check if your topic is properly created and also check if the topic is able receive messages using kafka console. You can add in broker list another kafka broker in comma separated list.

thanks , any idea if any other topic working properly ?