Giter Site home page Giter Site logo

Comments (9)

asaf avatar asaf commented on May 29, 2024 1

@saig0 first, i'd like to say that it's a great effort as there's currently no way to read Zeebe data easily.

I would like to clarify this, when ES exporter is enabled, Operate uses ES transformers in order to create its own data, so data gets built on the fly when it is pushed by the exporter.

Since the approach you chose is to create a local DB, I was wondering what would be the approach to support importing data from ES.

from zeeqs.

asaf avatar asaf commented on May 29, 2024 1

@saig0 ah, I thought operate puts some "processors" on ES somehow, yea fair enough,
I guess you just need some kind of cursor / store the last document fetched as with Hazelcast sequence

from zeeqs.

mohit2494 avatar mohit2494 commented on May 29, 2024 1

Hi there,
I'm looking forward to contribute to this through Hacktoberfest. Can someone help me out chart the details, so that I can make incremental code reviews for this.
Best :)

from zeeqs.

saig0 avatar saig0 commented on May 29, 2024 1

@mohit2494 awesome 🎉

The basic idea here is to import the data from ES and store it similar to the Hazelcast importer.

  • create a new module for the ES importer similar to /hazelcast-importer
  • create a new importer to poll the data from the different ES indexes and store them in the same way as /hazelcast-importer/src/main/kotlin/io/zeebe/zeeqs/importer/hazelcast/HazelcastImporter.kt
  • store the current position of the ES index to continue after a restart

The data in ES are generated by the ES exporter: https://github.com/zeebe-io/zeebe/tree/develop/exporters/elasticsearch-exporter
Here are the templates for the ES indexes: https://github.com/zeebe-io/zeebe/tree/develop/exporters/elasticsearch-exporter/src/main/resources

Please ask if you've any question or need help :)

from zeeqs.

saig0 avatar saig0 commented on May 29, 2024

@asaf, my idea is similar to Operate.

  • pull ES
  • aggregate data
  • store data in internal DB (which is used to query from)
  • pull next data from ES

The difference to Operate is that the data is stored in a database that is maybe not ES.

from zeeqs.

mohit2494 avatar mohit2494 commented on May 29, 2024

Thank you so much for the reply. It looks interesting, though a bit challenging. Can I have an email id where I can get in touch.

Best.
Mohit

from zeeqs.

saig0 avatar saig0 commented on May 29, 2024

@mohit2494 you can get in touch using the Zeebe Slack channel. You can ask questions in general or contact me directly.

from zeeqs.

fromz avatar fromz commented on May 29, 2024

@saig0 is there any idea of an ETA for this at all?

from zeeqs.

saig0 avatar saig0 commented on May 29, 2024

@fromz no ETA. Currently, I don't have any plans to work on it because I don't have a concrete need for it.

But I'm open to contributions from the community. 🚀

from zeeqs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.