I want to store JSON schema as {"name": "Jane", "age": 25, ...} in Elasticsearch using Apache Pulsar connector. I tried using this https://pulsar.apache.org/docs/en/io-elasticsearch-sink/#configuration, but I can only store JSON with the structure {string: number}. Somebody could help me?
Asked
Active
Viewed 164 times
1 Answers
0
You need to push your data in using a schema.
It is similar to what I did with SOLR.
https://github.com/tspannhw/FLIp-Solr
see the java code. make sure you have a schema to get it to land correct
That should work

Tim Spann
- 517
- 2
- 6