- 
                Notifications
    You must be signed in to change notification settings 
- Fork 41.6k
Description
Hazelcast consists of four options - an In-Memory Data Grid client and server, and a Jet client and server.
IMDG server works ideally. If there is an hazelcast.xml file then a server HazelcastInstance bean is constructed.
IMDG client is being improved by #7469. Ideally there is a hazelcast-client.xml file then a client HazelcastInstance bean is constructed.
This could be extended to include Jet
If there is a hazelcast.xml file and Jet classes, then a server JetInstance bean can be constructed and a server HazelcastInstance bean taken from inside Jet.
If there is a hazelcast-client.xml file and Jet classes, then a client JetInstance bean can be constructed and a client HazelcastInstance bean taken from inside Jet.
Sample project https://github.com/neilstevenson/spring-boot-autoconfigure-test shows how they are currently built using Spring Boot 1.5.2.
Ideally, all the MyConfiguration classes can be removed in favour of autoconfiguration.