| Package | Description |
|---|---|
| com.rabbitmq.stream | |
| com.rabbitmq.stream.impl |
| 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.byteBufAllocator(io.netty.buffer.ByteBufAllocator byteBufAllocator) |
EnvironmentBuilder |
EnvironmentBuilder.channelCustomizer(ChannelCustomizer channelCustomizer)
An extension point to customize Netty's
Channels used for connection. |
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) |
EnvironmentBuilder |
EnvironmentBuilder.credentialsProvider(CredentialsProvider credentialsProvider)
The
CredentialsProvider to use. |
EnvironmentBuilder |
EnvironmentBuilder.TlsConfiguration.environmentBuilder()
Go back to the environment builder
|
EnvironmentBuilder |
EnvironmentBuilder.eventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
The Netty
EventLoopGroup instance to use. |
EnvironmentBuilder |
EnvironmentBuilder.host(String host)
The host to connect to.
|
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.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 hearbeat 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.byteBufAllocator(io.netty.buffer.ByteBufAllocator byteBufAllocator) |
EnvironmentBuilder |
StreamEnvironmentBuilder.compressionCodecFactory(CompressionCodecFactory compressionCodecFactory) |
EnvironmentBuilder |
StreamEnvironmentBuilder.eventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup) |
EnvironmentBuilder |
StreamEnvironmentBuilder.lazyInitialization(boolean lazy) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxConsumersByConnection(int maxConsumersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxProducersByConnection(int maxProducersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.maxTrackingConsumersByConnection(int maxTrackingConsumersByConnection) |
EnvironmentBuilder |
StreamEnvironmentBuilder.recoveryBackOffDelayPolicy(BackOffDelayPolicy recoveryBackOffDelayPolicy) |
EnvironmentBuilder |
StreamEnvironmentBuilder.rpcTimeout(Duration timeout) |
EnvironmentBuilder |
StreamEnvironmentBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
EnvironmentBuilder |
StreamEnvironmentBuilder.topologyUpdateBackOffDelayPolicy(BackOffDelayPolicy topologyUpdateBackOffDelayPolicy) |
Copyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.