Questions tagged [hazelcast]

Hazelcast is an open source In-Memory Data Grid platform. The architecture supports high scalability and data distribution in a clustered environment. It supports auto-discovery of nodes and intelligent synchronization.

Hazelcast is an open source In-Memory Data Grid platform. The architecture supports high scalability and data distribution in a clustered environment.

Useful links

2900 questions
6
votes
1 answer

Possible to query by key instead of value in Hazelcast (using Predicates)?

In Hazelcast, is it possible to query an IMap based on attributes of a key instead of the values? All the Hazelcast examples show querying by value. E.g., for a map of employees with keys that are strings: IMap employees; The…
Ogre Psalm33
  • 21,366
  • 16
  • 74
  • 92
6
votes
4 answers

Hazelcast Logging 70% threshold Message with out adding anything to map

I am using hazel cast in a 2 node cluster following is my configuration: hazelcastinstance
remo
  • 487
  • 3
  • 10
  • 22
6
votes
1 answer

Hazelcast query in custom objects

I'm using Hazelcast as a shared map in my application. My map is like that: Map and MyObject: class MyObject implements Serializeble { // Map FieldName -> FieldValue Map myMap; } So I'd like to use…
Sergio Santiago
  • 1,316
  • 1
  • 11
  • 19
6
votes
3 answers

Hazelcast Serializable Map ClassNotFound Exception

I am trying to implement Hazelcast in a simple web application. I am trying to store a custom object into my Hazelcast Map and have implemented Serializable in my Bid Object Class with the necessary imports. import java.io.Serializable; Here is a…
6
votes
1 answer

How does Hazelcast autodiscovery work?

I would like to know how the Hazelcast autodiscovery works. How do nodes find other nodes in the network? And how do they know when a node is dead?
Amir Kost
  • 2,148
  • 1
  • 16
  • 30
6
votes
5 answers

Apache camel - how to "wiretap" synchronously? Or just send a copy of an exchange?

I have an apache camel route which is processing a POJO on the exchange body. Please look at the sequences of lines marked from 1 to 3. from("direct:foo") .to("direct:doSomething") // 1 (POJO on the exchange body) …
vikingsteve
  • 38,481
  • 23
  • 112
  • 156
6
votes
0 answers

Replacing JMS with Hazelcast?

We are currently running a distributed Java application connected by a set of JMS queues (no topics). The Java application makes heavy use of the Apache Camel framework, which is also used to communicate via JMS. As JMS provider we have ActiveMQ in…
xeraa
  • 10,456
  • 3
  • 33
  • 66
6
votes
5 answers

Request-Reply through a Queue with Hazelcast

I wonder if I can do request-reply with this: 1 hazelcast instance/member (central point) 1 application with hazelcast-client sending request through a queue 1 application with hazelcast-client waiting for requests into the queue The 1st…
unludo
  • 4,912
  • 7
  • 47
  • 71
6
votes
1 answer

Hazelcast Map is locked

We are using Hazelcast 2.3.1, in our hazelcast.xml configuration file we use write behind for an Hazelcast IMap: 1
luko
  • 121
  • 6
5
votes
5 answers

Does Hazelcast follow JSR-107

Read about JSR-107 and JCache recently. Would like to know whether Hazelcast or Ehcache follow this JSR?
Venkat Teki
  • 2,233
  • 4
  • 21
  • 28
5
votes
1 answer

Vertx clustered eventbus not removing old node on kubernetes rolling deployment

I have two vertx micro services running in cluster and communicate with each other using a headless service(link) in on premise cloud. Whenever I do a rolling deployment I am facing connectivity issue within services. When I analysed the log I can…
vel
  • 173
  • 9
5
votes
1 answer

Knowing what data was affected by Hazelcast members joining or leaving cluster

Our server-sided solution makes use of Hazelcast-provided distributed data structures to make available state related to entities that live on particular cluster members. When a cluster member joins or leaves the cluster, we have a need for the…
Guus
  • 2,986
  • 2
  • 21
  • 32
5
votes
2 answers

How to use Hazelcast's CPSubsystem with fewer than 3 nodes?

I see that Hazelcast 3.12 has introduced the CPSubsystem() for systems with 3-7 nodes. I understand the reasoning. However, if I am trying to design a solution that can run with anywhere between 1-n nodes, do I need to use different logic to…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
5
votes
0 answers

Vaadin 13 + Spring Boot + Spring Session + Hazelcast. Error: Unexpected message id from the client. Expected sync id: 0, got 1

I am following this tutorial Vaadin microservices - High availability in order to buiild a Vaadin frontend with multiple instances providing high availability with session replication. The problem is that running just 1 frontend instance with…
jpedrerol
  • 51
  • 1
5
votes
3 answers

Spring Boot + Hazelcast MapStore can't Autowire Repository

I started exploring about Hazelcast functionalities and I've been trying use a MapStore as a Write-Behind buffer for my database through HazelcastRepository. My goal is to use a JpaRepository inside my MapStore to load and store to/from the…