Skip to content

Autoconfiguration support for Hazelcast IMDG & Jet #8863

@neilstevenson

Description

@neilstevenson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions