From 8bf8ec31cd7555ff3f35be1dcaa1516b35648a65 Mon Sep 17 00:00:00 2001 From: Pieter Loubser Date: Tue, 20 Aug 2024 12:31:17 +0100 Subject: [PATCH] (maint) Fix broken consumer in example --- examples/orders.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/orders.tf b/examples/orders.tf index be1cb0b..7d798c5 100644 --- a/examples/orders.tf +++ b/examples/orders.tf @@ -33,7 +33,8 @@ resource "jetstream_consumer" "ORDERS_MONITOR" { stream_id = jetstream_stream.ORDERS.id durable_name = "MONITOR" deliver_last = true - ack_policy = "none" + ack_policy = "explicit" + max_ack_pending = 100 delivery_subject = "monitor.ORDERS" }