Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
David Nault
David NaultReporter
David Nault
David NaultStory Points
1
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
Sentry
Sentry
Zendesk Support
Zendesk Support
Created February 5, 2022 at 12:10 AM
Updated February 7, 2022 at 5:00 PM
Resolved February 7, 2022 at 5:00 PM
Suggested release note text:
Most of the Java SDK's configuration options are related to the cluster environment. Historically this has meant that if you wanted to change any of the default options, you needed to create a ClusterEnvironment and remember to shut it down after the client disconnects, even if you're not sharing the environment between clusters.
This change adds a new method that lets you configure the environment without having to manage it yourself:
ClusterOptions.environment(Consumer<ClusterEnvironment.Builder>)
Example usage:
Cluster cluster = Cluster.connect("localhost", clusterOptions(username, password) .environment(env -> env.ioConfig().captureTraffic(ServiceType.MANAGER)));