Skip to content
Discussion options

You must be logged in to vote

Hello evreybody, the issue was : Looking inside the memory before the flush, so memory had nothing yet.

to push data in memory I use this format:
{Toto : {aaaa : aa, bbbb : bb, cccc : cc}}
it appear in memory with this format:
{"key":"Toto","source_type":"memory","timestamp":"2026-01-21T09:37:26.209090891Z","ttl":299,"value":{"aaaa":"aa","bbbb":"bb","cccc":"cc"}}

To look inside the memory :
[enrichment_tables.cache]
type = "memory"
ttl = 300
flush_interval = 5
inputs = ["results_to_memory"]
source_config.export_interval = 2
source_config.source_key = "memory_table_source"
[sinks.debug_cache]
type = "console"
target = "stdout"
inputs = ["memory_table_source"]
encoding.codec = "json"

Now i …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Clint588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant