You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the documentation and am trying to make a simple consumer. I encountered a problem that the consumer does not receive messages sent via not-KafkaFlow (Tried publishing using Kafka-UI, a Scala service).
Test project SDK Microsoft.NET.Sdk.Worker, TargetFramework net8.0.
Topic state (test1 and test3 added via Kafka-UI, numbers via test kafkaflow producer):
Offset
Partitions
Value
0
0
Text: "test1"
1
0
Text: "9893"
0
1
Text: "5214"
2
0
Text: "6996"
1
1
Text: "3405"
2
1
Text: "4717"
3
0
Text: "4387"
4
0
Text: "478"
3
1
Text: "270"
5
0
Text: "test3"
Kafka logs:
[2024-04-16 19:20:39,017] INFO [GroupCoordinator 0]: Dynamic member with unknown member id joins group my-message-consumers in Empty state. Created a new member id rdkafka-2ca92db8-3506-4eec-a713-0d5fd598c9ec and request the member to rejoin with this id. (kafka.coordinator.group.GroupCoordinator)
[2024-04-16 19:20:39,018] INFO [GroupCoordinator 0]: Preparing to rebalance group my-message-consumers in state PreparingRebalance with old generation 6 (__consumer_offsets-6) (reason: Adding new member rdkafka-2ca92db8-3506-4eec-a713-0d5fd598c9ec with group instance id None; client reason: not provided) (kafka.coordinator.group.GroupCoordinator)
[2024-04-16 19:20:42,018] INFO [GroupCoordinator 0]: Stabilized group my-message-consumers generation 7 (__consumer_offsets-6) with 1 members (kafka.coordinator.group.GroupCoordinator)
[2024-04-16 19:20:42,020] INFO [GroupCoordinator 0]: Assignment received from leader rdkafka-2ca92db8-3506-4eec-a713-0d5fd598c9ec for group my-message-consumers for generation 7. The group has 1 members, 0 of which are static. (kafka.coordinator.group.GroupCoordinator)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I read the documentation and am trying to make a simple consumer. I encountered a problem that the consumer does not receive messages sent via not-KafkaFlow (Tried publishing using Kafka-UI, a Scala service).
Test project SDK
Microsoft.NET.Sdk.Worker
, TargetFrameworknet8.0
.Related nugets:
KafkaFlow.Extensions.Hosting v3.0.7
KafkaFlow.LogHandler.Microsoft v3.0.7
KafkaFlow.Serializer.JsonCore v3.0.7
Program.cs
LogMyMessageHandler.cs
MyMessage.cs
docker-compose.yml
Topic state (
test1
andtest3
added via Kafka-UI,numbers
via test kafkaflow producer):Kafka logs:
Each run, got following consumer logs:
But there is no lag
Looks like data from
0
partition, but produced only by KafkaFlow service.What am i doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions