# Kafka plugin with every new group id it is pointing to old offset and not able to consume events

**URL:** <https://discuss.elastic.co/t/kafka-plugin-with-every-new-group-id-it-is-pointing-to-old-offset-and-not-able-to-consume-events/335994>\
**Category:** Logstash\
**Created:** [June 14, 2023, 3:36pm UTC](https://discuss.elastic.co/t/kafka-plugin-with-every-new-group-id-it-is-pointing-to-old-offset-and-not-able-to-consume-events/335994 "2023-06-14T15:36:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selim\_Hassan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/selim_hassan/32/122251_2.png) [@Selim\_Hassan](https://discuss.elastic.co/u/Selim_Hassan)\
**Post date:** [June 14, 2023, 3:36pm UTC](https://discuss.elastic.co/t/kafka-plugin-with-every-new-group-id-it-is-pointing-to-old-offset-and-not-able-to-consume-events/335994/1 "2023-06-14T15:36:18Z")

</div>

I have pipeline created as  
input {  
kafka {  
group\_id =\> "3fixed1"  
client\_id =\> "2fixed1"  
codec =\> avro{  
schema\_uri =\> "C:\LogStash\KafkaClient\topology.avsc"  
encoding =\> "binary"  
}  
bootstrap\_servers =\> "obootstapserver"  
topics =\> ["OUT\_TOPOLOGY"]  
security\_protocol =\> "SSL"  
enable\_auto\_commit =\> true  
ssl\_truststore\_password =\> "changeit"  
ssl\_truststore\_location =\> "java.test99.truststore.jks"  
ssl\_keystore\_password =\> "changeit"  
ssl\_keystore\_location =\> "java.test99.keystore.jks"  
auto\_offset\_reset =\> "earliest"  
value\_deserializer\_class =\> "org.apache.kafka.common.serialization.ByteArrayDeserializer"

```
}

```

}

output {  
stdout { codec =\> json }  
}

but not able to consume from the topic and i tried to change the group name also multiple time but every time is stuck with offset values as

```auto

onsumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-4
[2023-06-14T23:27:38,831][INFO][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-5
[2023-06-14T23:27:38,831][INFO][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-6
[2023-06-14T23:27:38,831][INFO][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-7
[2023-06-14T23:27:38,832][INFO][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-0
[2023-06-14T23:27:38,832][INFO][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Found no committed offset for partition OUT_TOPOLOGY-1
[2023-06-14T23:27:38,879][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-2 to position FetchPosition{offset=320441689, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-2.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 2 rack: null)], epoch=25}}.
[2023-06-14T23:27:38,881][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-5 to position FetchPosition{offset=320723718, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-2.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 2 rack: null)], epoch=27}}.
[2023-06-14T23:27:38,895][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-3 to position FetchPosition{offset=289549562, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-1.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 1 rack: null)], epoch=22}}.
[2023-06-14T23:27:38,895][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-6 to position FetchPosition{offset=289867191, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-1.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 1 rack: null)], epoch=23}}.
[2023-06-14T23:27:38,895][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-0 to position FetchPosition{offset=289481525, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-1.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 1 rack: null)], epoch=24}}.
[2023-06-14T23:27:38,897][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-4 to position FetchPosition{offset=289625507, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-0.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 0 rack: null)], epoch=22}}.
[2023-06-14T23:27:38,898][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-7 to position FetchPosition{offset=289945098, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-0.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 0 rack: null)], epoch=22}}.
[2023-06-14T23:27:38,898][INFO][org.apache.kafka.clients.consumer.internals.SubscriptionState][main][7bc8c09dde861a01ba341a207561de45d09526b9d9c4bccb691ba72a5f472f53] [Consumer clientId=2fixed1-0, groupId=3fixed1] Resetting offset for partition OUT_TOPOLOGY-1 to position FetchPosition{offset=289414934, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[omckvdcpddc1-5gc-message-bus-kf-0.omckvdcpddc1-5gc-message-bus-kf.omc.svc.cluster.local:9093 (id: 0 rack: null)], epoch=22}}.

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 12, 2023, 3:36pm UTC](https://discuss.elastic.co/t/kafka-plugin-with-every-new-group-id-it-is-pointing-to-old-offset-and-not-able-to-consume-events/335994/2 "2023-07-12T15:36:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
