Skip to content

fix: consumer update #1

fix: consumer update

fix: consumer update #1

Triggered via push October 18, 2023 01:49
Status Failure
Total duration 1m 30s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors
sonarcloud: client.go#L116
error returned from external package is unwrapped: sig: func (github.com/twmb/franz-go/pkg/kgo.ProduceResults).FirstErr() error (wrapcheck)
sonarcloud: codec.go#L8
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
sonarcloud: codec.go#L11
Decode returns interface (T) (ireturn)
sonarcloud: codec.go#L15
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
sonarcloud: example/consume/main.go#L39
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
sonarcloud: example/consume/main.go#L52
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewClient(cfg github.com/worldline-go/wkafka.Config, opts ...github.com/worldline-go/wkafka.Option) (*github.com/worldline-go/wkafka.Client, error) (wrapcheck)
sonarcloud: example/produce/main.go#L46
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewClient(cfg github.com/worldline-go/wkafka.Config, opts ...github.com/worldline-go/wkafka.Option) (*github.com/worldline-go/wkafka.Client, error) (wrapcheck)
sonarcloud: example/produce/main.go#L54
mnd: Magic number: 1234, in <assign> detected (gomnd)
sonarcloud: example/produce/main.go#L60
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewProducer[T any](client *github.com/worldline-go/wkafka.Client, cfg github.com/worldline-go/wkafka.ProducerConfig[T]) (github.com/worldline-go/wkafka.Producer[T], error) (wrapcheck)
sonarcloud: example/produce/main.go#L63
error returned from interface method should be wrapped: sig: func (github.com/worldline-go/wkafka.Producer[*github.com/worldline-go/wkafka/example/produce.Data]).Produce(ctx context.Context, data ...*github.com/worldline-go/wkafka/example/produce.Data) error (wrapcheck)
sonarcloud: client.go#L116
error returned from external package is unwrapped: sig: func (github.com/twmb/franz-go/pkg/kgo.ProduceResults).FirstErr() error (wrapcheck)
sonarcloud: codec.go#L8
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
sonarcloud: codec.go#L11
Decode returns interface (T) (ireturn)
sonarcloud: codec.go#L15
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
sonarcloud: example/consume/main.go#L39
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
sonarcloud: example/consume/main.go#L52
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewClient(cfg github.com/worldline-go/wkafka.Config, opts ...github.com/worldline-go/wkafka.Option) (*github.com/worldline-go/wkafka.Client, error) (wrapcheck)
sonarcloud: example/produce/main.go#L46
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewClient(cfg github.com/worldline-go/wkafka.Config, opts ...github.com/worldline-go/wkafka.Option) (*github.com/worldline-go/wkafka.Client, error) (wrapcheck)
sonarcloud: example/produce/main.go#L54
mnd: Magic number: 1234, in <assign> detected (gomnd)
sonarcloud: example/produce/main.go#L60
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.NewProducer[T any](client *github.com/worldline-go/wkafka.Client, cfg github.com/worldline-go/wkafka.ProducerConfig[T]) (github.com/worldline-go/wkafka.Producer[T], error) (wrapcheck)
sonarcloud: example/produce/main.go#L63
error returned from interface method should be wrapped: sig: func (github.com/worldline-go/wkafka.Producer[*github.com/worldline-go/wkafka/example/produce.Data]).Produce(ctx context.Context, data ...*github.com/worldline-go/wkafka/example/produce.Data) error (wrapcheck)