Hi, if you use a new group for a consumer, the auto.offset.reset value will
determine whether it will start at the beginning (with value earliest) or
at the end (with value latest). For each group a separate offset is used,
to two consumer, belonging to two different groups, when started before the
producer, will both consume each message produced.

On Mon, Mar 14, 2016 at 2:37 AM I PVP <i...@hotmail.com> wrote:

> Hi everyone,
>
> Are there any specific configurations/properties that need to be set at
> the consumer or at the broker to allow:
>
> 1) The same message  M1 to be delivered to two consumers that "belong"to
> different consumer group.idS ?
>
> 2) A consumer to receive messages that were sent to broker before the
> consumer was started?
>
> Kafka version : 0.9.0.1
> Following the example available at :
>
> http://kafka.apache.org/090/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
>
> Any help will be appreciated.
>
> Thanks
>
> --
> IPVP
>
>

Reply via email to