Giter Club home page Giter Club logo

Comments (3)

coderofsalvation avatar coderofsalvation commented on July 18, 2024

shouldnt this be a separate integration? like an action-chain with an actioncalled 'onchange' which only forwards data to another action if there's a diff.
btw. have you looked at this:

http://www.enterpriseintegrationpatterns.com/patterns/messaging/MessageBus.html

from datafire.

coderofsalvation avatar coderofsalvation commented on July 18, 2024

just and idea: maybe there's a small js library with all messaging patterns (throttle, onchange etc) on npm?

from datafire.

rbren avatar rbren commented on July 18, 2024

I've been talking with another integration provider about how best to go about this. Each service will probably have a unique way of pushing new items and changes to items. E.g. one service might have support for webhooks that get called each time a new Widget is added, while another service might need to be polled every X minutes to get a list of Widgets.

The big issue is that often we'll need to maintain some kind of state to track which Widgets have been seen already. In some cases, just keeping a local file with a list of IDs might suffice, but in cases with much larger lists you might need a database to help keep track.

I'm going to open another issue for keeping state across action runs - once that's solved I think this one will be a bit easier.

from datafire.

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.