A KeyExtractor can extract the Pub/Sub Lite 'key' field used for message routing from a
PubsubMessage. It will by default use the ordering_key field directly for this if it exists.
An empty ByteString implies that the message should have no ordering key.
Static Fields
DEFAULT
publicstaticfinalKeyExtractorDEFAULT
An extractor that gets the routing key from the ordering key field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]