[id='jgroups_system_props-{context}']
= System Properties for JGroups Stacks
Set system properties that configure JGroups cluster transport stacks.

[%header,cols="1,3,2,1"]
|===

| System Property
| Description
| Default Value
| Required/Optional

| `jgroups.bind.address`
| Bind address for cluster transport.
| `SITE_LOCAL`
| Optional

| `jgroups.bind.port`
| Bind port for the socket.
| `7800`
| Optional

| `jgroups.mcast_addr`
| IP address for multicast, both discovery and inter-cluster communication. The IP address must be a valid "class D" address that is suitable for IP multicast.
| `228.6.7.8`
| Optional

| `jgroups.mcast_port`
| Port for the multicast socket.
| `46655`
| Optional

| `jgroups.ip_ttl`
| Time-to-live (TTL) for IP multicast packets. The value defines the number of network hops a packet can make before it is dropped.
| 2
| Optional

| `jgroups.thread_pool.min_threads`
| Minimum number of threads for the thread pool.
| 0
| Optional

| `jgroups.thread_pool.max_threads`
| Maximum number of threads for the thread pool.
| 200
| Optional

| `jgroups.join_timeout`
| Maximum number of milliseconds to wait for join requests to succeed.
| 2000
| Optional

|`jgroups.thread_dumps_threshold`
| Number of times a thread pool needs to be full before a thread dump is logged.
| 10000
| Optional

|===


.Amazon EC3

The following system properties apply only to `default-jgroups-ec2.xml`:

[%header,cols="1,3,2,1"]
|===

| System Property
| Description
| Default Value
| Required/Optional

| `jgroups.s3.access_key`
| Amazon S3 access key for an S3 bucket.
| No default value.
| Optional

| `jgroups.s3.secret_access_key`
| Amazon S3 secret key used for an S3 bucket.
| No default value.
| Optional

| `jgroups.s3.bucket`
| Name of the Amazon S3 bucket. The name must exist and be unique.
| No default value.
| Optional

|===

.Kubernetes

The following system properties apply only to `default-jgroups-kubernetes.xml`:

[%header,cols="1,3,2,1"]
|===

| System Property
| Description
| Default Value
| Required/Optional

| `jgroups.dns.query`
| Sets the DNS record that returns cluster members.
| No default value.
| Required

|===

.Google Cloud Platform

The following system properties apply only to `default-jgroups-google.xml`:

[%header,cols="1,3,2,1"]
|===

| System Property
| Description
| Default Value
| Required/Optional

| `jgroups.google.bucket_name`
| Name of the Google Compute Engine bucket. The name must exist and be unique.
| No default value.
| Required

|===

.Reference

* link:{jgroups_docs}#SystemProperties[JGroups System Properties]
* link:{jgroups_docs}#protlist[JGroups Protocol List]
