How to listen expired keys using redis kafka connect

I am using redis kafka listener and set notify-keyspace-events as “KEx” in redis.conf . But the Kafka topic doesn’t pay listen to expired key/value.
If I set “KEA” for notify-keyspace-events, events other than expired will begin to arrive on the kafka listener

Is it possible to listen expired event on kafka topic?

The Redis Kafka source connector can only read from Redis streams. Keyspace notifications in Redis are published onto pub/sub channels, so you need a component to bridge pub/sub messages to a stream. You could use RedisGears for that: Examples - RedisGears - Programmable engine for data processing in Redis

Can we use Redis stream to listen only expired keys?

Check RedisGears
Examples - RedisGears - Programmable engine for data processing in Redis