Skip to content

Commit eb2e1e4

Browse files
authored
fix(duckdb): Support V0/V1 syncs (#12106)
#### Summary closes: #12105
1 parent 311f474 commit eb2e1e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugins/destination/duckdb/main.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ const (
1616

1717
func main() {
1818
p := plugin.NewPlugin("duckdb", internalPlugin.Version, client.New)
19-
if err := serve.Plugin(p, serve.WithPluginSentryDSN(sentryDSN)).Serve(context.Background()); err != nil {
19+
server := serve.Plugin(p,
20+
serve.WithPluginSentryDSN(sentryDSN),
21+
serve.WithDestinationV0V1Server(),
22+
)
23+
err := server.Serve(context.Background())
24+
if err != nil {
2025
log.Fatalf("failed to serve plugin: %v", err)
2126
}
2227
}

0 commit comments

Comments
 (0)