SteveYurongSu commented on PR #1166:
URL: https://github.com/apache/streampipes/pull/1166#issuecomment-1406419345

   Hi @bossenti, here is the update 😊
   
   In 
streampipes-extensions/streampipes-sinks-databases-jvm/src/main/java/org/apache/streampipes/sinks/databases/jvm/iotdb/IotDb.java
   
   I implemented the IoTDB sink by `SessionPool` instead of `Session`.
   
   About `SessionPool`:
   > We provide a connection pool (`SessionPool) for Native API. Using the 
interface, you need to define the pool size.
   > 
   > If you can not get a session connection in 60 seconds, there is a warning 
log but the program will hang.
   > 
   > If a session has finished an operation, it will be put back to the pool 
automatically. **If a session connection is broken, the session will be removed 
automatically and the pool will try to create a new session and redo the 
operation.**
   


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