Skip to content

tagbangers/jgroups-s3-client-ping

Repository files navigation

JGroups S3_CLIENT_PING

Overview

S3_CLIENT_PING is a JGroups discovery protocol which using AWS SDK for Java. Credentials are resolved by Default Credential Provider Chain: for example, you can use Instance profile credentials with it, which exist within the instance metadata associated with the IAM role.

Maven

<dependency>
	<groupId>jp.co.tagbangers</groupId>
	<artifactId>jgroups-s3-client-ping</artifactId>
	<version>4.0.0</version>
</dependency>

Configuration

<jp.co.tagbangers.jgroups.S3_CLIENT_PING location="${jgroups.s3.bucket}" />

To enable S3_CLIENT_PING, you need the following code;

ClassConfigurator.addProtocol((short) 1000, S3_CLIENT_PING.class);

Contributing

Pull requests are welcome.

License

S3_CLIENT_PING is released under version 2.0 of the Apache License.