Hi,
This is my consumer code:
conn, err := grpc.Dial("localhost:10001", grpc.WithInsecure())
if err != nil {
panic(err)
}
defer conn.Close()
consumer := pgcapture.NewConsumer(context.Background(), conn, pgcapture.ConsumerOption{
URI: "postgres_cdc",
TableRegex: "assetdevicetest",
DebounceInterval: time.Second,
})
defer consumer.Stop()
But my assetdevicetest table is under config_db_test database. How and where can I configure it here in the consumer code?