You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"connector.class": "com.github.castorm.kafka.connect.http.HttpSourceConnector",
"tasks.max": "1",
"http.request.url": "http://ip:8086/query",
"http.request.headers": "Accept: application/json",
"http.request.params": "db=LQSEvents&epoch=s&q=SELECT IMSI,Latt,Long from LQSEvents WHERE time > now() - 1m and Type='Position'",
"http.timer.interval.millis": "60000",
"kafka.topic": "LQSEventsPosition",
"value.converter": "io.confluent.connect.avro.AvroConverter",
"http.response.record.pointer": "/results/0/series/0/values",
"http.response.record.offset.pointer": "key=/1, timestamp=/0",
"value.converter.schema.registry.url": "http://schema-registry3:8081",
"key.converter": "org.apache.kafka.connect.storage.StringConverter"
however i got this error,
java.lang.IllegalStateException: Duplicate key false
at com.github.castorm.kafka.connect.common.CollectorsUtils.lambda$toLinkedHashMap$0(CollectorsUtils.java:43)
at java.base/java.util.HashMap.merge(HashMap.java:1297)
at java.base/java.util.stream.Collectors.lambda$toMap$68(Collectors.java:1658)
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at com.github.castorm.kafka.connect.http.ack.ConfirmationWindow.<init>(ConfirmationWindow.java:40)
at com.github.castorm.kafka.connect.http.HttpSourceTask.poll(HttpSourceTask.java:119)
at org.apache.kafka.connect.runtime.WorkerSourceTask.poll(WorkerSourceTask.java:291)
at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:248)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:189)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:238)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have this result from the influxdb api:
and I would like to extract this value:
this is snippet my kafka connect config
however i got this error,
could you help what is wrong with my config ?
Beta Was this translation helpful? Give feedback.
All reactions