I created a new Kafka topic with 1 partition and then sent 10 messages using
the KafkaProducer API using the async callback.
What I saw was that the offsets in the RecordMetadata for the first record was
-1.
Shouldn't it be 0 as offsets start with 0?
Is it a bug or works as expected?
Thanks,
Ja
Umesh,
That is a Kafka broker level config/parameter and not part of the producer.
Jayesh
On 9/22/16, 3:09 AM, "UMESH CHAUDHARY" wrote:
Hi Mates,
I was trying to understand that if auto.create.topics.enable=true then how
KafkaProducer first creates the topic and sends messages to
Thanks Gwen - yes, I agree - let me work on it, make it available on github and
then I guess we can go from there.
Thanks,
Jayesh
-Original Message-
From: Gwen Shapira [mailto:g...@confluent.io]
Sent: Wednesday, May 11, 2016 12:26 PM
To: dev@kafka.apache.org; Jayesh Thakrar
Cc: Users