| Package | Description |
|---|---|
| com.rabbitmq.stream |
Main API for RabbitMQ Stream Java Client.
|
| com.rabbitmq.stream.impl |
Implementation-specific, non-public interfaces and classes of the RabbitMQ Stream Java Client.
|
| Modifier and Type | Method and Description |
|---|---|
EnvironmentBuilder |
EnvironmentBuilder.addressResolver(AddressResolver addressResolver)
An
AddressResolver to potentially change resolved node address to connect to. |
static EnvironmentBuilder |
Environment.builder()
Create a builder to configure and create an
Environment |
EnvironmentBuilder |
EnvironmentBuilder.chunkChecksum(ChunkChecksum chunkChecksum)
The checksum strategy used for chunk checksum.
|
EnvironmentBuilder |
EnvironmentBuilder.clientProperties(Map<String,String> clientProperties)
Custom client properties to add to default client properties.
|
EnvironmentBuilder |
EnvironmentBuilder.clientProperty(String key,
String value)
Add a custom client properties to default client properties.
|
EnvironmentBuilder |
EnvironmentBuilder.codec(Codec codec)
The AMQP 1.0 codec used to encode and decode AMQP 1.0 messages.
|
EnvironmentBuilder |
EnvironmentBuilder.compressionCodecFactory(CompressionCodecFactory compressionCodecFactory)
Compression codec factory to use for compression in sub-entry batching.
|
EnvironmentBuilder |
EnvironmentBuilder.credentialsProvider(CredentialsProvider credentialsProvider)
The
CredentialsProvider to use. |
EnvironmentBuilder |
EnvironmentBuilder.TlsConfiguration.environmentBuilder()
Go back to the environment builder
|
EnvironmentBuilder |
EnvironmentBuilder.NettyConfiguration.environmentBuilder()
Go back to the environment builder
|
EnvironmentBuilder |
EnvironmentBuilder.forceReplicaForConsumers(boolean forceReplica)
Flag to force the connection to a stream replica for consumers.
|
EnvironmentBuilder |
EnvironmentBuilder.host(String host)
The host to connect to.
|
EnvironmentBuilder |
EnvironmentBuilder.id(String id)
Informational ID for this environment instance.
|
EnvironmentBuilder |
EnvironmentBuilder.lazyInitialization(boolean lazy)
To delay the connection opening until necessary.
|
EnvironmentBuilder |
EnvironmentBuilder.maxConsumersByConnection(int maxConsumersByConnection)
The maximum number of consumers allocated to a single connection.
|
EnvironmentBuilder |
EnvironmentBuilder.maxProducersByConnection(int maxProducersByConnection)
The maximum number of producers allocated to a single connection.
|
EnvironmentBuilder |
EnvironmentBuilder.maxTrackingConsumersByConnection(int maxTrackingConsumersByConnection)
The maximum number of tracking consumers allocated to a single connection.
|
EnvironmentBuilder |
EnvironmentBuilder.metricsCollector(MetricsCollector metricsCollector)
Set up a
MetricsCollector. |
EnvironmentBuilder |
EnvironmentBuilder.observationCollector(ObservationCollector<?> observationCollector)
Set up an
ObservationCollector. |
EnvironmentBuilder |
EnvironmentBuilder.password(String password)
The password to use.
|
EnvironmentBuilder |
EnvironmentBuilder.port(int port)
The port to use to connect.
|
EnvironmentBuilder |
EnvironmentBuilder.recoveryBackOffDelayPolicy(BackOffDelayPolicy recoveryBackOffDelayPolicy)
The
BackOffDelayPolicy to use for connection recovery. |
EnvironmentBuilder |
EnvironmentBuilder.requestedHeartbeat(Duration requestedHeartbeat)
The heartbeat to request.
|
EnvironmentBuilder |
EnvironmentBuilder.requestedMaxFrameSize(int requestedMaxFrameSize)
The maximum frame size to request.
|
EnvironmentBuilder |
EnvironmentBuilder.rpcTimeout(Duration timeout)
Timeout for RPC calls.
|
EnvironmentBuilder |
EnvironmentBuilder.saslConfiguration(SaslConfiguration saslConfiguration)
The SASL configuration to use.
|
EnvironmentBuilder |
EnvironmentBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Set the
ScheduledExecutorService used to:
Schedule producers batch sending
Handle connection recovery
Handle topology update
|
EnvironmentBuilder |
EnvironmentBuilder.topologyUpdateBackOffDelayPolicy(BackOffDelayPolicy topologyUpdateBackOffDelayPolicy)
The
BackOffDelayPolicy to use for topology recovery. |
EnvironmentBuilder |
EnvironmentBuilder.uri(String uri)
The URI of a node to connect to.
|
EnvironmentBuilder |
EnvironmentBuilder.uris(List<String> uris)
A list of URIs of nodes of the same cluster to use to connect to.
|
EnvironmentBuilder |
EnvironmentBuilder.username(String username)
The username to use.
|
EnvironmentBuilder |
EnvironmentBuilder.virtualHost(String virtualHost)
The virtual host to connect to.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamEnvironmentBuilder |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentBuilder |
StreamEnvironmentBuilder.addressResolver(AddressResolver addressResolver) |
EnvironmentBuilder |
StreamEnvironmentBuilder.compressionCodecFactory(CompressionCodecFactory compressionCodecFactory) |
EnvironmentBuilder |
StreamEnvironmentBuilder.forceReplicaForConsumers(boolean forceReplica) |
EnvironmentBuilder |
StreamEnvironmentBuilder.id(String id) |
EnvironmentBuilder |
StreamEnvironmentBuilder.lazyInitialization(boolean lazy) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxConsumersByConnection(int maxConsumersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxProducersByConnection(int maxProducersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxTrackingConsumersByConnection(int maxTrackingConsumersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.observationCollector(ObservationCollector<?> observationCollector) |
EnvironmentBuilder |
StreamEnvironmentBuilder.recoveryBackOffDelayPolicy(BackOffDelayPolicy recoveryBackOffDelayPolicy) |
EnvironmentBuilder |
StreamEnvironmentBuilder.rpcTimeout(Duration timeout) |
EnvironmentBuilder |
StreamEnvironmentBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
EnvironmentBuilder |
StreamEnvironmentBuilder.topologyUpdateBackOffDelayPolicy(BackOffDelayPolicy topologyUpdateBackOffDelayPolicy) |
Copyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.