I did not use a partition to publish to Kafka topic. ProducerRecord(String topic, K key, V value)
In the consumer, I would like to go to the beginning. seekToBeginning(Collection partitions)
Is it possible to seek to beginning without using a partition? Does Kafka assign a default partition?
https://kafka.apache.org/0102/javadoc/org/apache/kafka/clients/producer/ProducerRecord.html https://kafka.apache.org/0102/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html