diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-19 10:57:10 +0200 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-19 10:57:10 +0200 |
| commit | ca0c72789ba87791829001d259000b2966d9d6e4 (patch) | |
| tree | 8e488741389a24acc30d02b742398935586c54c9 /shell_scripts | |
| parent | 54f94861da743cbd72d9755c2fbe4223176d90f4 (diff) | |
Diffstat (limited to 'shell_scripts')
| -rw-r--r-- | shell_scripts/useful_commands.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell_scripts/useful_commands.sh b/shell_scripts/useful_commands.sh index 8ff604e2..4b46ad2c 100644 --- a/shell_scripts/useful_commands.sh +++ b/shell_scripts/useful_commands.sh @@ -17,3 +17,7 @@ redis-cli -h localhost -p 6379 XRANGE postgres_topic - + XTRIM postgres_topic MAXLEN 0 # https://codesignal.com/learn/courses/mastering-redis-for-high-performance-applications-with-java-and-jedis-1/lessons/redis-streams-with-java +# +# Creating a group for consumers to read from stream +XGROUP CREATE mystream mygroup 0 + |
