banum2-ppb opened a new issue, #287: URL: https://github.com/apache/pulsar-dotpulsar/issues/287
### Description Depending on the producer (fs-client, java, KOP etc) sometimes messages come in without a topicName inside MessageID <img width="837" height="231" alt="Image" src="https://github.com/user-attachments/assets/94482f61-06ce-42b1-a48b-efa56c1c64b2" /> Acknowledging this type of message breaks in await _subConsumers[messageId.Topic].Acknowledge(messageId, cancellationToken).ConfigureAwait(false); because messageId.Topic == "" the consumer already has the topicName and I think the Acknowledge should create the topicName based on the other fields if the topicName is missing. ### Reproduction Steps . ### Expected behavior . ### Actual behavior . ### Regression? _No response_ ### Known Workarounds var ackM = new MessageId(message.MessageId.LedgerId, message.MessageId.EntryId, message.MessageId.Partition, message.MessageId.BatchIndex, $"{_consumer.Topic}-partition-{message.MessageId.Partition}"); await _consumer!.Acknowledge(ackM); ### Configuration _No response_ ### Other information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
