Skip to content

Decouple reading from Slot, running transformation and writing to Sink via NATS #8

Decouple reading from Slot, running transformation and writing to Sink via NATS

Decouple reading from Slot, running transformation and writing to Sink via NATS #8

Triggered via pull request September 9, 2024 16:50
@shayonjshayonj
synchronize #11
s/nats
Status Failure
Total duration 1m 4s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 2 warnings
test: cmd/root.go#L169
too many arguments in call to replicator.NewReplicator
test: cmd/root.go#L212
cannot use sinks.NewStdoutSink(statusDir) (value of type *sinks.StdoutSink) as sinks.Sink value in assignment: *sinks.StdoutSink does not implement sinks.Sink (wrong type for method WriteBatch)
test: cmd/root.go#L214
cannot use sinks.NewFileSink(statusDir, outputDir) (value of type *sinks.FileSink) as sinks.Sink value in assignment: *sinks.FileSink does not implement sinks.Sink (wrong type for method WriteBatch)
test: cmd/root.go#L227
cannot use sinks.NewPostgresSink(targetHost, targetPort, targetDBName, targetUser, targetPassword, syncSchema, sourceHost, sourcePort, sourceDBName, sourceUser, sourcePassword) (value of type *sinks.PostgresSink) as sinks.Sink value in assignment: *sinks.PostgresSink does not implement sinks.Sink (wrong type for method WriteBatch)
test: cmd/root.go#L230
cannot use sinks.NewWebhookSink(statusDir, webhookURL) (value of type *sinks.WebhookSink) as sinks.Sink value in assignment: *sinks.WebhookSink does not implement sinks.Sink (wrong type for method WriteBatch)
test
Process completed with exit code 2.
lint: cmd/root.go#L169
too many arguments in call to replicator.NewReplicator
lint: cmd/root.go#L212
cannot use sinks.NewStdoutSink(statusDir) (value of type *sinks.StdoutSink) as sinks.Sink value in assignment: *sinks.StdoutSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: cmd/root.go#L214
cannot use sinks.NewFileSink(statusDir, outputDir) (value of type *sinks.FileSink) as sinks.Sink value in assignment: *sinks.FileSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: cmd/root.go#L227
cannot use sinks.NewPostgresSink(targetHost, targetPort, targetDBName, targetUser, targetPassword, syncSchema, sourceHost, sourcePort, sourceDBName, sourceUser, sourcePassword) (value of type *sinks.PostgresSink) as sinks.Sink value in assignment: *sinks.PostgresSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: cmd/root.go#L230
cannot use sinks.NewWebhookSink(statusDir, webhookURL) (value of type *sinks.WebhookSink) as sinks.Sink value in assignment: *sinks.WebhookSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: main.go#L7
could not import github.com/shayonj/pg_flo/cmd (-: # github.com/shayonj/pg_flo/cmd
lint: cmd/root.go#L169
too many arguments in call to replicator.NewReplicator
lint: cmd/root.go#L212
cannot use sinks.NewStdoutSink(statusDir) (value of type *sinks.StdoutSink) as sinks.Sink value in assignment: *sinks.StdoutSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: cmd/root.go#L214
cannot use sinks.NewFileSink(statusDir, outputDir) (value of type *sinks.FileSink) as sinks.Sink value in assignment: *sinks.FileSink does not implement sinks.Sink (wrong type for method WriteBatch)
lint: cmd/root.go#L227
cannot use sinks.NewPostgresSink(targetHost, targetPort, targetDBName, targetUser, targetPassword, syncSchema, sourceHost, sourcePort, sourceDBName, sourceUser, sourcePassword) (value of type *sinks.PostgresSink) as sinks.Sink value in assignment: *sinks.PostgresSink does not implement sinks.Sink (wrong type for method WriteBatch)
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/