Skip to content

Commit

Permalink
test(config): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hekike committed Dec 13, 2024
1 parent 68c706c commit 9bb58be
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,29 @@ func TestComplete(t *testing.T) {
AsyncInsert: false,
AsyncInsertWait: false,
},
Billing: BillingConfiguration{
Enabled: false,
Worker: BillingWorkerConfiguration{
ConsumerConfiguration: ConsumerConfiguration{
ProcessingTimeout: 30 * time.Second,
Retry: RetryConfiguration{
InitialInterval: 10 * time.Millisecond,
MaxInterval: time.Second,
MaxElapsedTime: time.Minute,
},
DLQ: DLQConfiguration{
Enabled: true,
Topic: "om_sys.billing_worker_dlq",
AutoProvision: DLQAutoProvisionConfiguration{
Enabled: true,
Partitions: 1,
Retention: 90 * 24 * time.Hour,
},
},
ConsumerGroupName: "om_billing_worker",
},
},
},
Sink: SinkConfiguration{
GroupId: "openmeter-sink-worker",
MinCommitCount: 500,
Expand Down

0 comments on commit 9bb58be

Please sign in to comment.