Mathieu Druart
11/23/2022, 7:13 PMNavina
11/23/2022, 7:33 PMMathieu Druart
11/23/2022, 7:34 PMNavina
11/23/2022, 7:35 PMMathieu Druart
11/23/2022, 7:41 PMMathieu Druart
11/23/2022, 7:42 PMNavina
11/23/2022, 7:44 PMNavina
11/23/2022, 7:45 PMMathieu Druart
11/23/2022, 7:46 PMNavina
11/23/2022, 7:46 PMNavina
11/23/2022, 7:54 PMMathieu Druart
11/23/2022, 8:04 PMMathieu Druart
11/23/2022, 8:07 PMNavina
11/23/2022, 8:07 PMReader api in pulsar. It will seek to a specific messageId each time it fetches. So, I don't think the subscriptions are created when the pinot partition consumer is created.Navina
11/23/2022, 8:08 PMNavina
11/23/2022, 8:09 PMNavina
11/23/2022, 8:10 PMwhat is a bit strange is that if each time a Consumer is created, a new subscription is created, it looks more like the use case of a Reader rather than a Consumeryou are right. we are using the reader api.
Mathieu Druart
11/23/2022, 8:11 PMMathieu Druart
11/23/2022, 8:19 PMMathieu Druart
11/23/2022, 8:29 PMMathieu Druart
11/23/2022, 8:30 PMPulsarAdmin.builder().serviceHttpUrl("HTTP URL to Pulsar Admin API").build().topics().getLastMessageId(topic);Mathieu Druart
11/23/2022, 8:33 PMNavina
11/23/2022, 8:33 PMNavina
11/23/2022, 8:34 PMexamineMessage API that can help fetch both offsets. I need to try it out to see if it can be used here instead of spinning up a consumerMathieu Druart
11/23/2022, 9:18 PMNavina
11/23/2022, 9:31 PMMathieu Druart
11/24/2022, 3:31 PMNavina
11/24/2022, 7:34 PMMathieu Druart
11/25/2022, 4:41 PM