You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/10/16 16:22:25 UTC

[GitHub] [pulsar] Redirts opened a new issue #8279: Question: Pulsar IO JDBC Java class example (Clickhouse)

Redirts opened a new issue #8279:
URL: https://github.com/apache/pulsar/issues/8279


   From what I understand it is possible to create a custom Java class that reads from pulsar and writes via JDBC to a database (in my I would like it to be clickhouse).
   
   https://github.com/apache/pulsar/blob/master/pulsar-io/jdbc/clickhouse/src/main/java/org/apache/pulsar/io/jdbc/ClickHouseJdbcAutoSchemaSink.java
   
   Can anyone provide a complete code example to make this JDBC Sink work?
   
   Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #8279: Question: Pulsar IO JDBC Java class example (Clickhouse)

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #8279:
URL: https://github.com/apache/pulsar/issues/8279#issuecomment-713243478


   would also like to have @vzhikserg in the thread, who is the author for clickhouse connector.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #8279: Question: Pulsar IO JDBC Java class example (Clickhouse)

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #8279:
URL: https://github.com/apache/pulsar/issues/8279#issuecomment-713242596


   @Redirts  is this link help? https://pulsar.apache.org/docs/en/io-quickstart/#connect-pulsar-to-postgresql


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Redirts commented on issue #8279: Question: Pulsar IO JDBC Java class example (Clickhouse)

Posted by GitBox <gi...@apache.org>.
Redirts commented on issue #8279:
URL: https://github.com/apache/pulsar/issues/8279#issuecomment-713325936


   Hi,
   
   The link you provide describes setting up the jdbc sink without writing any
   line of code. I would like to be able to manipulate the data before it is
   sent to clickhouse via java code.
   
   Thanks
   
   On Wed, 21 Oct 2020, 03:02 Jia Zhai, <no...@github.com> wrote:
   
   > would also like to have @vzhikserg <https://github.com/vzhikserg> in the
   > thread, who is the author for clickhouse connector.
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/pulsar/issues/8279#issuecomment-713243478>, or
   > unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AFTD2N7EYXUZV6KE3GZ2PH3SLY6JVANCNFSM4STRLKHA>
   > .
   >
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org