Comments (7)
I've seen the code and the incrementing.field.name
is not compatible yet with nested documents. At this time it works only with the root level fields.
I hope you can find a workaround or a new incrementing field, in the meantime I'm planning to add the compatibility for nested fields also for cursors when finalizing the ssl config branch.
from kafka-connect-elasticsearch-source.
Hi
Any update on this?
On all versions above 1.4, I am facing this issue even when my incrementing.field.name
is not a nested field. Following is the connector configuration:
{
"connector.class":"com.github.dariobalinzo.ElasticSourceConnector",
"tasks.max": "1",
"es.scheme": "http",
"es.host" : "somehost",
"es.port" : "someport",
"es.user" : "username",
"mode":"incrementing",
"es.password" : "password",
"index.prefix" : "index",
"topic.prefix" : "topic",
"incrementing.field.name" : "received_on",
"poll.interval.ms" : 10000
}
from kafka-connect-elasticsearch-source.
Hi @armaankohli91 , sorry for the delay, I will work on it in the next days and I will update here in the issue.
Can you provide a sample document json, especially of the incrementing field that is failing?
Is that an array? array also are not supported
Thanks,
Dario
from kafka-connect-elasticsearch-source.
Hi @armaankohli91 , sorry for the delay, I will work on it in the next days and I will update here in the issue. Can you provide a sample document json, especially of the incrementing field that is failing?
Is that an array? array also are not supported
Thanks, Dario
Hi Dario
Thanks for the response.
No it is not an array. Its a plain number that just increments with each document.
Sorry I misunderstood by what you meant by sample document. Editing the reply to have the same here:
{
"da_name": "Rihanna",
"da_firstName": "Rihanna",
"da_lastName": "Rihanna",
"da_address": "TX",
"ra_f1": "12",
"ra_H1": "11",
"created_on": "2022-02-02T16:38:53.0870292",
"received_on": 97568911026700
}
So, received_on is a field that stores current milliseconds while saving the document.
Hope it helps.
-Armaan
from kafka-connect-elasticsearch-source.
hi there ,i am facing same problem .Did anyone find the solution?
from kafka-connect-elasticsearch-source.
Hey, is this issue still open ? I am facing this exact same error when i try to use a timestamp keyword field as the incrementing field in the Kafka connector configuration.
from kafka-connect-elasticsearch-source.
Looks like the nested fields for the incrementing.field.name is still not functional. This is a serious limitation for this great piece of software
from kafka-connect-elasticsearch-source.
Related Issues (20)
- Authentication Methods
- Question: Filtering fields of elastic document.
- question: keystore and truststore file formats
- Avro parsing error StringIndexOutOfBoundsException HOT 1
- Index Prefix is not working as intended, it is copying all the indices
- org.apache.kafka.connect.errors.DataException: xxx is not a valid field name
- Connector failed to run
- The connector starts but fails to connect to OpenSearch nodes
- Update dependencies
- How to disable schema Avro? HOT 1
- Caused by: org.apache.http.ContentTooLongException: entity content is too long [107962506] for the configured buffer limit [104857600] HOT 5
- How to use queries to poll only certain documents into the Kafka Topic? HOT 3
- Now that ElasticSourceConnector is working, how to consume messages using Java from Kafka Topic? HOT 5
- converting list: type not supported HOT 3
- Can I limit the bandwidth of data obtained from ES? HOT 2
- Replay data which already exist on elastic HOT 1
- Connector Vulnerabilities HOT 3
- Connector Vulnerabilities HOT 6
- org.apache.kafka.connect.errors.DataException: Invalid type for INT64: class java.lang.Double HOT 3
- number of tasks, their state and relation to the connector state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-connect-elasticsearch-source.