Giter Club home page Giter Club logo

Comments (3)

gdlcf88 avatar gdlcf88 commented on June 16, 2024

Hi, could you please debug to find which line caused the NullReferenceException?

from abp.eventbus.boxes.dtm.

leonkosak avatar leonkosak commented on June 16, 2024

Sorry for the late response @gdlcf88.

I'll describe my scenario.
Maybe this should be added as an additional sample in a repo. :-)

  1. Create new abp applications (tiered architecture, mvc - it doesn't matter frontend technology - only that backend is tiered).
    abp new MyAbpDtmApp1 -t app -u mvc --tiered -dbms PostgreSQL -v 7.2.2
    and
    abp new MyAbpDtmApp2 -t app -u mvc --tiered -dbms PostgreSQL -v 7.2.2

  2. Pull and start RabbitMQ for Docker
    docker pull rabbitmq:management
    docker run -d --hostname mycompany-rabbit --name mycompany-dev-rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:management

  3. Get and run DTM server.
    I currently use windows_amd64 binary from here: https://github.com/dtm-labs/dtm/releases/latest
    It is running, because I can access URL and see GUI: http://localhost:36789/
    Question
    How to properly run (docker run command with parameters and configuration) for an official DTM image (https://hub.docker.com/r/yedf/dtm/)?
    I found this command:
    docker run --name dtm -p 36789:36789 -p 36790:36790 -e STORE_DRIVER=mysql -e STORE_HOST=localhost -e STORE_USER=root -e STORE_PASSWORD= -e STORE_ PORT=3306 -e IS_DOCKER=1 yedf/dtm:latest
    on: https://en.dtm.pub/deploy/deploy.html#docker-deployment
    The preferred and most convenient store for development would be Redis.
    docker pull redis
    docker run --name mycompany-dev-redis -p 6379:6379 -d redis

How to enable docker so that DTM container can access to the Redis container?


Such sample (with a tutorial on how to establish a development environment - preferably DTM and Redis both in Docker) would be helpful.
With a tiered abp architecture example, and descriptive environment setup (with docker commands), it would be 100% clear where (in which projects inside abp solution) to implement logic.
You can even make an example for Kafka (instead of RabbitMQ) - also preferably run in Docker.

I hope that I gave you a good enough starting point to make a complete example. :)

Otherwise, thank you for your great work. ๐Ÿ‘ We appreciate it.

from abp.eventbus.boxes.dtm.

gdlcf88 avatar gdlcf88 commented on June 16, 2024

Thanks for the samples.

This DTM module implements the ABP distributed event bus, which is not only for a tiered or distributed environment but also for monolithic applications. Advanced app developers like you can read and understand the documentation of ABP, Docker and DTM.

So I don't think the tiered apps sample is necessary for the README.

from abp.eventbus.boxes.dtm.

Related Issues (2)

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.