You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/08/25 13:46:05 UTC

[GitHub] [camel] Raikatzu commented on pull request #3737: CAMEL-14892 Camel-influxdb uses deprecated methods in doInsert action

Raikatzu commented on pull request #3737:
URL: https://github.com/apache/camel/pull/3737#issuecomment-905515585


   Hello together,
   
   this Pull Request somehow manages to be responsible for "errors" in my application.
   
   I use apache camel to write data into the InfluxDB coming from a message queue. The data itself gets written into the database perfectly fine, but looking at the logs of the InfluxDB, the queries "show databases" and "create database [database]" get executed on every dataset written into the database (multiple times in 1 second), spamming the log-files, making it harder readable and surely, following to a huge growth of the log-files.
   
   See here: 
   ![image](https://user-images.githubusercontent.com/38971781/130800971-d442f81b-ee83-491e-b2c2-995edd7631a3.png)
   
   I'm not sure why, but somehow camel isn't able to find the database I want to write in (via "show databases" in this PR) but yet is able to write data into it.
   
   I'm using following version-constellation:
   - Apache Camel: 3.11.0
   - Camel-influxdb: 3.11.0
   - InfluxDB: 2.0
   
   I also created a corresponding v1 authentification and dbrp to be able to map the data to my v2.0 InfluxDB (which seems to work perfectly fine since data is being inserted). The authentification also has permissions to read and write into the bucket.
   
   Also doing a manual "show databases" query to the v1 compatible API InfluxDB:8086/query worked perfectly fine, giving me a result of the database I'm having.
    
   Is anyone able to help me out with this one problem? Or is there a possibility to deactivate the "ensureDataBaseExists()" check?
   
   Thanks in advance!
   
   Best Regards
   
   
   


-- 
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: commits-unsubscribe@camel.apache.org

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