Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need samples of using GenericMapLoader and/or GenericMapStore #633

Open
mgoldver opened this issue May 21, 2024 · 0 comments
Open

Need samples of using GenericMapLoader and/or GenericMapStore #633

mgoldver opened this issue May 21, 2024 · 0 comments

Comments

@mgoldver
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant