<commit_before># Redis KCQL

The DM Redis Kafka (sink) connector supports at the moment two modes the *cache* mode and the *sorted-set* mode

## Redis mode : Cache

Purpose is to *cache* in Redis <Key-Value> pais. Imagine having in a topic Yahoo FX Rates messages:

    { "symbol": "USDGBP" , "price": 0.7943 }
    { "symbol": "EURGBP" , "price": 0.8597 }

And you want to store in Redis the symbols as <Keys> and the price as <Value>

    SELECT price from yahoo-fx PK symbol
<commit_msg>minor<commit_after># Redis KCQL

The DM Redis Kafka (sink) connector supports at the moment two modes the **cache** mode and the **sorted-set** mode

## Redis mode : Cache

Purpose is to *cache* in Redis <Key-Value> pais. Imagine having in a topic Yahoo FX Rates messages:

    { "symbol": "USDGBP" , "price": 0.7943 }
    { "symbol": "EURGBP" , "price": 0.8597 }

And you want to store in Redis the symbols as <Keys> and the price as <Value>

    SELECT price from yahoo-fx PK symbol

{'fraction_non_alphanumeric': 0.10677618069815195, 'fraction_numerical': 0.02053388090349076, 'mean_word_length': 3.665071770334928, 'pattern_counts': {'":': 8, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '335312', 'n_tokens_mistral': 356, 'n_tokens_neox': 322, 'n_words': 144}