Facing issues with kafka

Not able to produce messages in kafka producer. Getting the following error:

[2020-04-08 08:30:37,377] ERROR Error when sending message to topic deepakgarg2639465-wordcount with key: null, value: 5 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for deepakgarg2639465-wordcount-0 due to 1536 ms haspassed since batch creation plus linger time

Hi, Deepak.

Did you create the topic? as the error says it is not able send message to topic.
Kindly try again as it worked perfectly for me.

All the best!