Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Wolfgang Fahl
    @WolfgangFahl
    https://github.com/rc-dukes/vertx-eventbus-python has now a new project for making improvements to the original vert-x3/vertx-eventbus-bridge-clients python project. The repository might only be temporary until things are stable and might be reintegrated to the official vert.x infrastructure
    Wolfgang Fahl
    @WolfgangFahl
    To start with the java side of things we need a runner just like https://github.com/vert-x3/vertx-examples/blob/master/rxjava-2-examples/src/main/java/io/vertx/example/util/Runner.java - the question is if rc-dukes https://github.com/rc-dukes/dukes/blob/master/rc-common/src/main/java/org/rcdukes/common/ClusterStarter.java would be equivalent - I am opting for the Runner to see whether the ClusterStarter way of doing things is the culprit for the rc-dukes/dukes#19
    Wolfgang Fahl
    @WolfgangFahl
    The Runner has been refactored by me to VerxStarter and there is now a unit test for it that is started with mvn test by the test script. Now the java side can be prepared to work as the testbed for the python side of things ....
    Wolfgang Fahl
    @WolfgangFahl
    The java side of things starts looking good see https://travis-ci.org/rc-dukes/vertx-eventbus-python/jobs/643853298 - for the python side i am a bit lost about the expected configuration.
    What shall be done with the non-existing python documentation e.g. dead projects like https://github.com/vert-x3/vertx-lang-python which are referenced in https://github.com/vert-x3/vertx-awesome?
    Wolfgang Fahl
    @WolfgangFahl
    By the way https://github.com/chaosbreakers/vertx-gremlin looks also interesting especially since i am having trouble with http://wiki.bitplan.com/index.php/Gremlin_python and a gremlin-python bridge via vert.x is something i'd appreciate a lot...
    Wolfgang Fahl
    @WolfgangFahl
    The tests with ./test -a now run. Let's call it a day. I had a first attempt at getting the travis tests automated but this might need a little more love ...
    Wolfgang Fahl
    @WolfgangFahl
    Hooray - we got a passing travis build ...
    Wolfgang Fahl
    @WolfgangFahl
    Shouldn't be Eventbus.state and enumeration as it is in the Javascript version ?
    Wolfgang Fahl
    @WolfgangFahl
    class State(IntEnum):
        """ Eventbus state see https://github.com/vert-x3/vertx-bus-bower/blob/master/vertx-eventbus.js"""
        CONNECTING=0
        OPEN=1
        CLOSING=2
        CLOSED=3
    Wolfgang Fahl
    @WolfgangFahl
    So far I had no luck contacting Jayamine Alupotha. To get the https://pypi.org/project/vertx-eventbus/ updated would be much easier with her. I am tentatively thinking about applying the process outlined in https://www.python.org/dev/peps/pep-0541/#continued-maintenance-of-an-abandoned-project
    Wolfgang Fahl
    @WolfgangFahl
    The API documentation is in the works see https://vertx-eventbus-python.readthedocs.io/en/latest/index.html
    Wolfgang Fahl
    @WolfgangFahl
    There is a test pre-release at https://test.pypi.org/project/vertx-eventbus-python/3.8.5a1/ which is not recommended for use yet but can be used for testing the integration into python project
    Wolfgang Fahl
    @WolfgangFahl
    Julien Viet
    @vietj
    good work @WolfgangFahl
    Wolfgang Fahl
    @WolfgangFahl
    @vietj Thx - i still need some input https://test.pypi.org/project/vertx-eventbus-python/3.8.5a7/ could be the last alpha release if we get rc-dukes/vertx-eventbus-python#12 fixed
    Wolfgang Fahl
    @WolfgangFahl
    https://test.pypi.org/project/vertx-eventbus-python/3.8.5a8/ has an onError handler now for the case where no address is supplied
    Please not that there is now https://vertx-eventbus-python.readthedocs.io/en/latest/_modules/Vertx/eventbus.html#TcpEventBusBridgeStarter which allows to automatically start the Java bridge from within the Python Environment.
    Lin Gao
    @gaol
    Am I correct that the TcpEventBusBridgeStarter should only be in test?
    Wolfgang Fahl
    @WolfgangFahl
    @gaol from my point of view it is very much useable in production.
    Lin Gao
    @gaol
    @WolfgangFahl I played a little bit yesterday, and I think it is good :) I got one issue and reported at: rc-dukes/vertx-eventbus-python#13
    @WolfgangFahl If TcpEventBusBridgeStarter will be kept in production, I would recommend to have it in a separate python file to distinguish from eventbus, just IMO :)
    Wolfgang Fahl
    @WolfgangFahl
    @gaol thx for the feedback and the report. It will take a bit before i can look into things. Pleases stay tuned.