arjun-guptha opened a new issue, #5079:
URL: https://github.com/apache/seatunnel/issues/5079

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   I successfully integrated Seatunnel with Phoenix DB and conducted a test on 
the batch mode job, which yielded positive results. However, when attempting to 
test the streaming job of Seatunnel with Phoenix, I encountered the same 
outcome as the batch mode job. Streaming is not working in phoenix. I would 
greatly appreciate your assistance in resolving this issue.
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env{
     #parallelism = 3
     job.mode = "STREAMING"
     job.name="test_hbase_streaming"
   }
   
   source {
       Jdbc {
           driver = org.apache.phoenix.jdbc.PhoenixDriver
           url = "jdbc:phoenix:instance-1:/hbase-unsecure"
           query = "select ROWID, MSISDN, ID, STATUS_FIELD from 
TEST_MERGE_SPLIT"
       }
   }
   
   sink{
       Jdbc {
           driver = org.apache.phoenix.jdbc.PhoenixDriver
           url = "jdbc:phoenix:instance-2:/hbase-unsecure"
           query = "upsert into TEST_MERGE_SPLIT(ROWID, MSISDN, ID, 
STATUS_FIELD) values(?,?,?,?)"
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/hbase-batch-3.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   Although no error exceptions are occurring, the streaming mode is behaving 
similarly to the batch mode. Specifically, it is transferring all the records 
from the source to the sink table, and the job is subsequently marked as 
completed.
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to