Skip to content

Need samples of using GenericMapLoader and/or GenericMapStore #633

@mgoldver

Description

@mgoldver

The official Hazelcast documentation provides some details about how to configure GenericMapStore (or GenericMapLoader), but does not explain for example that the resulting objects in the distributed map are stored as GenericRecord.
There is also no information about what the additional dependencies that need to be added to the pom.

I had to add:

            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-sql</artifactId>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-mapstore</artifactId>
            </dependency>

Also, I had to build a map interceptor in order to store the data in my own POJO (querying map with generic records is difficult).
Would be great to offer these concepts to the community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions