Read the doc and am testing on my 7.3 ref. system. From what I see so far, those two values are not part of the dataset. The Kafka Consumer API for reading a message also does not provide them - and that is what I suspect Pega is employing (as opposed to AdminClient). Will research further and reach out internally.
So, one of the SMEs suspects it might be available from Consumer API but we are not exposing it. I asked about options to discover and he stated its all internal code, so very difficult to access from any sort of local change. I have another SME resource who is part of the team working on the 7.4 modifications - so I'll reach out in that direction.
While pushing a message on kafka topic, that message is stored in some partition and offset. I need that partition and offset number to check what actually posted from pega and also for our automation testing we need. We have another get rest service to check the posted message on topic using this offset and partition number.