Phoenix
Last updated
Last updated
Phoenix sink connector
Support Batch mode and Streaming mode. The tested Phoenix version is 4.xx and 5.xx On the underlying implementation, through the jdbc driver of Phoenix, execute the upsert statement to write data to HBase. Two ways of connecting Phoenix with Java JDBC. One is to connect to zookeeper through JDBC, and the other is to connect to queryserver through JDBC thin client.
Tips: Not support exactly-once semantics (XA transaction is not yet supported in Phoenix).
if you use phoenix (thick) driver the value is org.apache.phoenix.jdbc.PhoenixDriver
or you use (thin) driver the value is org.apache.phoenix.queryserver.client.Driver
if you use phoenix (thick) driver the value is jdbc:phoenix:localhost:2182/hbase
or you use (thin) driver the value is jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF
Sink plugin common parameters, please refer to Sink Common Options for details
use thick client drive
use thin client drive