Skip to content

unsupported sink: clickhouse #599

@azhestov

Description

@azhestov

hi. i try to start docker compose from examples directory, but add to config clickhouse data instead redpanda accordingly https://oss.buz.dev/outputs/database/clickhouse

container refuse to start with error:

buz | {"level":"info","time":"2025-01-09T14:15:51Z","message":"🟢 initializing sinks"}
buz | {"level":"debug","time":"2025-01-09T14:15:51Z","message":"🟡 initializing stdout sink"}
buz | {"level":"info","time":"2025-01-09T14:15:51Z","message":"🟢 stdout sink initialized"}
buz | {"level":"error","error":"unsupported sink: clickhouse","time":"2025-01-09T14:15:51Z","message":"🔴 unsupported sink"}
buz | panic: runtime error: invalid memory address or nil pointer dereference
buz | [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1ecb668]
buz | [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1ecbb08]
buz |
buz | goroutine 1 [running]:
buz | github.com/silverton-io/buz/pkg/sink.NewSink({{0xc000362e68, 0x7}, {0xc000362e80, 0xa}, 0x1, {0xc000363010, 0xa}, {0xc000057188, 0x12}, {0x0, ...}, ...})
buz | /app/pkg/sink/sink.go:114 +0x68
buz | github.com/silverton-io/buz/pkg/sink.BuildAndInitializeSinks({0xc000b74400?, 0x3, 0x17?})
buz | /app/pkg/sink/sink.go:130 +0xf8
buz | main.(*App).initializeManifold(0xc00045db80)
buz | /app/cmd/buz/app.go:97 +0x1e7
buz | main.(*App).Initialize(0x0?)
buz | /app/cmd/buz/app.go:205 +0x65
buz | main.main()
buz | /app/cmd/buz/main.go:9 +0x2f

i was try buz 1.19.0, 1.18.0, 1.18.5 - same error
where i'm wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions