Skip to content

Add support for secondary dispatching on LR2 #7344

Add support for secondary dispatching on LR2

Add support for secondary dispatching on LR2 #7344

Triggered via pull request September 18, 2024 20:54
Status Failure
Total duration 3m 40s
Artifacts 1

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Lint Go: internal/dispatch/remote/cluster.go#L1
Please run go run mage.go lint:go. diff --git a/internal/dispatch/remote/cluster.go b/internal/dispatch/remote/cluster.go index b0d95a6..f41ad99 100644 --- a/internal/dispatch/remote/cluster.go +++ b/internal/dispatch/remote/cluster.go @@ -231,8 +231,10 @@ type receiver[S responseMessage] interface { grpc.ClientStream } -const secondaryCursorPrefix = "$$secondary:" -const primaryDispatcher = "" +const ( + secondaryCursorPrefix = "$$secondary:" + primaryDispatcher = "" +) func publishClient[Q requestMessageWithCursor, R responseMessageWithCursor](ctx context.Context, client receiver[R], stream dispatch.Stream[R], secondaryDispatchName string) error { for {
Lint Go
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
diff
449 Bytes