We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Remotely mapping Vertica table to a kafka topic — Vertica Forum

Remotely mapping Vertica table to a kafka topic

I'd like to create a table dynamically and map it to a Kafka topic from my application. The documentation has this command,

 

/opt/vertica/packages/kafka/bin/vkconfig topic --add --target tableName --topic topicName --parser KafkaJSONParser --num-partitions 1 --config-schema kafkaschema

Is there an alternate way to run this command, as my application is hosted remotely and I'd like to do the mapping dynamically. I presume there should be a way to do this via SQL in Vertica.

Comments

  • Hi

    There is no external API available ,  however , you can run the Kafka package in your remote server instead  of running it on the DB server .

    This will simplify you dynamic method ,you will be able to call the CLI from your code

     

    I hope you will find it useful

     

    Thanks

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file
You can use Markdown in your post.