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
public static final KeyExtractor DEFAULT
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]