Coder Social home page Coder Social logo

py-consul's Issues

Python Client does not connect to Consul

Hello,
I am using Consul as a service discovery as a means to have my spring boot microservices and python microservices discovered and be able to make requests. The problem is that the java microservices connect successfully but the python simply does not connect. I have read the docs from the original project where this fork originates from but there is no luck... This is my config:

`
@asynccontextmanager
async def main(_: FastAPI):
try:
loop = asyncio.get_event_loop()
await mongo.connect_to_db()
rabbit = RabbitMQConfig((get_controller()), loop=loop)

    consul.aio.Consul(loop=loop)

    await asyncio.gather(
        rabbit.run(),
    )

    yield
except KeyboardInterrupt:
    pass

app = FastAPI(lifespan=main)
app.include_router(router=Router.router, prefix="/reader")

if name == "main":
uvicorn.run("main:app", port=8081, reload=True)
`

Consider detaching fork

Hi,

Thanks for continuing the development of original consul client.

This is not an issue, just a suggestion. Since there was lots of refactoring lately and the project far more progressed, and it's maintained, maybe it worth detaching the fork from upstream.

If intereseted, here is the link for that : https://support.github.com/request/fork

Thanks

Notification: Linking to criteo/py-consul as recommended fork

Hi there,

I wanted to let you know that I have updated the python-consul/python-consul README to direct users to criteo/py-consul as the recommended fork for ongoing maintenance and support.

A special thanks to @asteven for encouraging me to clarify the status and ensure the community has the best resources moving forward. Additionally, thank you to the criteo team for taking over the project and continuing its development.

Once you've read this, feel free to close the issue.

best ๐Ÿ’š๐Ÿ™๐Ÿป

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.