@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Around @Introduction @Type(value=PulsarProducerAdvice.class) public @interface PulsarProducer
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
autoUpdatePartition |
boolean |
batching |
int |
batchingMaxBytes
Default 128KB.
|
int |
batchingMaxMessages |
boolean |
blockQueue |
boolean |
chunking
If this is enabled batching should be disabled.
|
org.apache.pulsar.client.api.CompressionType |
compressionType |
java.lang.String |
encryptionKey |
org.apache.pulsar.client.api.HashingScheme |
hashingScheme |
long |
initialSequenceId |
org.apache.pulsar.client.api.MessageRoutingMode |
messageRoutingMode |
boolean |
multiSchema |
java.lang.String |
producerName |
MessageSchema |
schema |
boolean |
sendBefore
Defaults to false.
|
@Pattern(regexp="((non-)?persistent://)?(\\w+(-|\\w+)*\\w/){2}\\w+(-|\\w+)*\\w") java.lang.String |
topic |
java.lang.String |
value |
@AliasFor(member="topic") public abstract java.lang.String value
topic()@AliasFor(member="value")
@Pattern(regexp="((non-)?persistent://)?(\\w+(-|\\w+)*\\w/){2}\\w+(-|\\w+)*\\w")
public abstract @Pattern(regexp="((non-)?persistent://)?(\\w+(-|\\w+)*\\w/){2}\\w+(-|\\w+)*\\w") java.lang.String topic
public abstract MessageSchema schema
public abstract org.apache.pulsar.client.api.CompressionType compressionType
public abstract org.apache.pulsar.client.api.MessageRoutingMode messageRoutingMode
public abstract boolean multiSchema
public abstract boolean autoUpdatePartition
public abstract boolean blockQueue
public abstract boolean batching
public abstract int batchingMaxMessages
public abstract int batchingMaxBytes
public abstract boolean chunking
public abstract java.lang.String encryptionKey
public abstract long initialSequenceId