Github user mans2singh commented on the issue:

    https://github.com/apache/nifi/pull/2562
  
    @joewitt @MikeThomsen - 
    
    I've updated the code based on your comments.  
    
    I've also added a docker gist 
[influxdb-compose.xml](https://gist.github.com/mans2singh/5ee90620314d4bcf26d6c65de2540c77#file-influxdb-compose-xml)
 based on docker compose xml mentioned by @MikeThomsen .  This docker compose 
starts a local influxdb and runs curl commands to create a `test` database and 
populate it with a metric every 5 seconds.  To launch it we need to run 
`docker-compose -f <file-name> up` on the local machine and then we can run the 
integration tests for the query processor or run Nifi locally with processor 
configured for scheduled query.
    
    I am also including two templates ([flow file 
driven](https://gist.github.com/mans2singh/5ee90620314d4bcf26d6c65de2540c77#file-nifi-influxdb-flow-file-driven-template)
 and [timer 
driven](https://gist.github.com/mans2singh/5ee90620314d4bcf26d6c65de2540c77#file-nifi-influxdb-scheduled-query-template))
 to assist in testing the InfluxDB query processor.
    
    Please let me know if your comments/recommendations.
    
    Thanks again.
    



---

Reply via email to