Skip to content

Implement Remove Functionality for SADD and JsonSet Operation - #37

Open
weissmedia wants to merge 10 commits into
redis-field-engineering:masterfrom
cloud37:master
Open

Implement Remove Functionality for SADD and JsonSet Operation#37
weissmedia wants to merge 10 commits into
redis-field-engineering:masterfrom
cloud37:master

Conversation

@weissmedia

@weissmedia weissmedia commented Apr 1, 2024

Copy link
Copy Markdown

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