Coder Social home page Coder Social logo

disturb's People

Contributors

adefretin avatar jrmbrgs avatar mbrenguier avatar mventuravoyageprive avatar ogarbe avatar tpellegatta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

disturb's Issues

Finalize workflow

Check if all step have been ran then set the new workflow status.
If there is an error and the workflow is aborted, specify it too.

Historize worker runs

Current :

{
        "runingOn": "dev129-port",
        "pid": 7220,
        "status": "exited",
        "startedAt": "2018-01-25 10:32:15",
        "heartBeatAt": "2018-01-25 10:32:25",
        "exitedAt": "2018-01-25 10:32:28",
        "exitCode": 0
}

target :

{
        "runingOn": "dev129-port",
        "pid": 7220,
        "status": "started",
        "startedAt": "2018-01-25 10:32:15",
        "heartBeatAt": "2018-01-25 10:32:25",
        "history" : [
                {
                        "startedAt": "2018-01-24 10:32:15",
                        "exitedAt": "2018-01-24 10:32:28",
                        "exitCode": 1
                },
                {
                        "startedAt": "2018-01-23 10:32:15",
                        "exitedAt": "2018-01-23 10:32:28",
                        "exitCode": 125
                },
                {
                        "startedAt": "2018-01-22 10:32:15",
                        "exitedAt": "2018-01-22 10:32:28",
                        "exitCode": 255
                },
        ]
}

handle job reservation collision

To avoid collision if two workers are listening the same topic partition.

With #37 workers belonging to the same group consume their own message.
But when a consumer dies, some of its already processed messages are re-sent to another worker.

Before processing a message, we must check if it has not already been processed

More ... :

  • check if there is any kafka message ack avoiding the same message to be sent twice by the roker

Workflow loaded too many times

jbourgeais@dev129-port:~/www/disturb/example:beta★
vendor/bin/disturb-manager start --workflow="Full/testWorkflowConfig.json" --ttl=10
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Connecting to Elastic "vp-aix-elsdisturb01.aix.vpg.lan:9200"
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Loading Workflow config from 'Full/testWorkflowConfig.json'
2018-01-25 11:11:33 [INFO] Setting consumer group to manager
2018-01-25 11:11:33 [INFO] Connecting to Elastic "vp-aix-elsdisturb01.aix.vpg.lan:9200"
2018-01-25 11:11:33 [INFO] Connecting to Elastic "vp-aix-elsdisturb01.aix.vpg.lan:9200"
2018-01-25 11:11:33 [INFO] Worker dev129-port-disturb-manager-test listening on 10.13.11.27,10.13.11.28,10.13.11.29:dev129-portdisturb-test-manager

merge client and command

in Library/Client, find a solution to merge the two classes (main difference is the fact bootstrap has been loaded or not)

Handle a TTL param on worker

workers are formerly coded to act like deamons.
Because of infra & monitoring considerations we should add them a TTL feature.

Monitoring

Be able to identify worker
Monitoring heartbeat, etc.
Use infra monitoring softwares

isolate DI

from /bin/disturb to Conf/DI.php to allow it to be used in Unit Test

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.