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