Class PulsarHeaders
java.lang.Object
org.springframework.pulsar.support.PulsarHeaders
Pulsar specific message headers.
- Author:
- Soby Chacko
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Broker publish time (long).static final String
Event time (long).static final String
Message index if available.static final String
Message key if present.static final String
Message key as bytes if present.static final String
Unique message id.static final String
Message size in bytes.static final String
Message ordering key.static final String
The prefix for Pulsar headers.static final String
Producer name.static final String
Message publish time (long).static final String
The prefix for the message.static final String
Raw message data as bytes.static final String
Redelivery count.static final String
Cluster where the message is replicated from.static final String
Schema version.static final String
Message sequence id.static final String
Topic name. -
Constructor Summary
-
Method Summary
-
Field Details
-
PREFIX
The prefix for Pulsar headers.- See Also:
-
PULSAR_MESSAGE
The prefix for the message.- See Also:
-
MESSAGE_ID
Unique message id.- See Also:
-
RAW_DATA
Raw message data as bytes.- See Also:
-
MESSAGE_SIZE
Message size in bytes.- See Also:
-
PUBLISH_TIME
Message publish time (long).- See Also:
-
EVENT_TIME
Event time (long).- See Also:
-
SEQUENCE_ID
Message sequence id.- See Also:
-
PRODUCER_NAME
Producer name.- See Also:
-
KEY
Message key if present.- See Also:
-
KEY_BYTES
Message key as bytes if present.- See Also:
-
ORDERING_KEY
Message ordering key.- See Also:
-
TOPIC_NAME
Topic name.- See Also:
-
REDELIVERY_COUNT
Redelivery count.- See Also:
-
SCHEMA_VERSION
Schema version.- See Also:
-
REPLICATED_FROM
Cluster where the message is replicated from.- See Also:
-
BROKER_PUBLISH_TIME
Broker publish time (long).- See Also:
-
INDEX
Message index if available.- See Also:
-
-
Constructor Details
-
PulsarHeaders
public PulsarHeaders()
-