hazelcast webfilter with jdk17

18 views
Skip to first unread message

Alejandro Garcia Marchena

unread,
Oct 5, 2023, 5:51:18 AM10/5/23
to Hazelcast

I have a spring boot 2 application with jdk8 that uses hazelcast to share https seesions which has been migrated to spring boot 3 with jdk17.

it configures a bean of HazelcastInstance and for session replication it has a webfilter which has as properties the instance name and the sticky session set to false as shown in the hazelcast site (https://docs.hazelcast.com/tutorials/springboot-webfilter-session-replication) The problem is that the hazelcast WebFilter uses internally javax.servlet.Filter which can't used with jdk17.

An ideas on how to solve this?

is it equivalent to use @EnableHazelcastHttpSession?

I've tried using @EnableHazelcastHttpSession, but not ssure if this will have the same behaviour

Reply all
Reply to author
Forward
0 new messages