moov-io / paygate

A RESTful API enabling electronic payments to be submitted and received without a deep understanding payment file specification
http://moov.io
Apache License 2.0
129 stars 31 forks source link

transfers/pipeline: fix kafka subscription #648

Closed nean closed 3 years ago

nean commented 3 years ago

PayGate Version: v0.10.2

What were you trying to do? Add Kafka stream configuration.

What did you expect to see? paygate to use the given kafka configuration without error

What did you see?

panic: ERROR setting up transfer subscription: unknown &config.StreamPipeline{InMem:(*config.InMemPipeline)(nil), Kafka:(*config.KafkaPipeline)(0xc000528f00)}
goroutine 1 [running]:
main.main()
    /go/src/github.com/moov-io/paygate/cmd/server/main.go:116 +0x2097

How can we reproduce the problem? the docker-compose file from the PR running paygate 0.10.2