Inside an Apache Beam transform I can successfully transform pub/sub values (in MessagePack format) that I read from Google Cloud Pub/Sub into a map of MessagePack Value
objects like this:
@ProcessElement
public void processElement(ProcessContext c)
{
Map<Value, Value> map = MessagePack.newDefaultUnpacker(c.element().getPayload()).unpackValue().asMapValue().map();
When I inspect map
I can see the following:
If I then try to get a value like this it always returns null:
map.get("Tz")
How do I get a value? Do I need to transform the values in a different way, or do I need a different way of retrieving them?