Skip to content

Implement Remove Functionality for SADD and JsonSet Operation #37

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

weissmedia
Copy link

@weissmedia weissmedia commented Apr 1, 2024

https://redis-field-engineering.github.io/redis-kafka-connect

JSON (JsonSet) and SET (SADD) deletion behavior implemented as described in the documentation.

Changes:
Added: Sadd and JsonSet operation for Redis Sink Task
Modified: RedisSinkTask class to integrate the Sadd and JsonSet operation
Added: conditionFunction to check if the value is null and on this basis for Redis-SET: SADD or SREM and for Redis-JSON: JSON.SET or DEL

Description:
These changes add a new Sadd and JsonSet operation to the Redis sink task, which allows adding or removing items to or from a Redis set based on a condition. The conditionFunction function checks if the value of a sink entry is null and executes srem for sadd and del for jsonset if it is.

@weissmedia weissmedia changed the title Implement Remove Functionality for SADD Operation Implement Remove Functionality for SADD and JsonSet Operation Apr 2, 2024
weissmedia and others added 8 commits July 10, 2024 10:03
…n.path.fixed configurations

- Implement functionality for dynamic and fixed JSON path handling with JSONMERGE command
- Update RedisSinkConfigDef to validate and apply redis.json.path and redis.json.path.fixed
- Enhance documentation to explain usage and configuration of redis.json.path and redis.json.path.fixed
…ect when path is set, delete entire key when path is not set
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

Successfully merging this pull request may close these issues.

1 participant