I am working on the hazelcast ringbuffer data structure.
If I set RingBuffer capacity in member then it is working fine. but I would like to set capacity on the client side based on user requirement. so is there any way to set capacity on the client side?
You can use dynamic configuration feature
HazelcastInstance client = HazelcastClient.newHazelcastClient();
Config config = client.getConfig();
config.addRingBufferConfig(new RingbufferConfig("foo").setCapacity(12345));
Ringbuffer<Object> ringbuffer = client.getRingbuffer("foo");
Remember that you cannot update/alter a current configuration but you can add new ones