531651225 commented on code in PR #2499: URL: https://github.com/apache/incubator-seatunnel/pull/2499#discussion_r956750487
########## docs/en/connector-v2/source/Phoenix.md: ########## @@ -0,0 +1,39 @@ +# Phoenix + +> Phoenix source connector + +## Description +Read Phoenix data through [Jdbc connector](Jdbc.md). +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: By default, the (thin) driver jar is used. If you want to use the (thick) driver or other versions of Phoenix (thin) driver, you need to recompile the jdbc connector module + +## Options + +### driver [string] +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` + +### url [string] +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` Review Comment: thanks,done -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
