Skip to content

fix: consumer batch #21

fix: consumer batch

fix: consumer batch #21

Triggered via push January 4, 2024 21:12
Status Failure
Total duration 50s
Artifacts

test.yml

on: push
sonarcloud
41s
sonarcloud
Fit to window
Zoom out
Zoom in

Annotations

11 errors
sonarcloud
Process completed with exit code 1.
sonarcloud: client.go#L145
error returned from external package is unwrapped: sig: func (github.com/twmb/franz-go/pkg/kgo.ProduceResults).FirstErr() error (wrapcheck)
sonarcloud: codec.go#L10
Comment should end in a period (godot)
sonarcloud: codec.go#L52
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
sonarcloud: codec.go#L55
Decode returns interface (T) (ireturn)
sonarcloud: codec.go#L59
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
sonarcloud: codec.go#L76
Decode returns interface (T) (ireturn)
sonarcloud: codec.go#L77
type assertion must be checked (forcetypeassert)
sonarcloud: consumerbatch.go#L59
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
sonarcloud: consumerbatch.go#L67
cognitive complexity 32 of func `(consumerBatch).batchIteration` is high (> 30) (gocognit)
sonarcloud: consumersingle.go#L59
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)