public interface KeyExtractor
An empty ByteString implies that the message should have no ordering key.
| Modifier and Type | Field and Description |
|---|---|
static KeyExtractor |
DEFAULT
An extractor that gets the routing key from the ordering key field.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
extractKey(com.google.pubsub.v1.PubsubMessage message)
Extract the ByteString routing key from a PubsubMessage.
|
static final KeyExtractor DEFAULT
Copyright © 2022 Google LLC. All rights reserved.