Detects NATS JetStream consumer replication issues and fetch operation failures that impact message delivery reliability when consumers have multiple replicas configured.This includes scenarios where consumers with replica counts greater than 1 fail to retrieve messages when batch sizes exceed available messages, leading to message loss, delivery delays, and consumer state inconsistencies across the cluster.
This rule helps identify problems such as:
/claim #77 /close #77
Updated categories and tags
Make the script executable and run it:
# Make the script executable and run it
chmod +x run.sh
./run.sh
# Execute detection rule
cat test.log | preq -r fetchnowait-replica-bug.yaml -d
Reproducible test setup (Maintainers invited): cre-nats Live CRE Detection: CRE Playground
https://github.com/user-attachments/assets/c89a9635-297d-4ab7-a23d-58ccc59ce593
SaikiranSurapalli
@SaikiranSurapalli17
Prequel
@prequel-dev