criteo-forks / py-consul Goto Github PK
View Code? Open in Web Editor NEWPython client for Consul (http://www.consul.io/)
License: MIT License
Python client for Consul (http://www.consul.io/)
License: MIT License
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)
`
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
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 ๐๐๐ป
Would it be possible to publish documentation similar to what python-consul2 had? https://python-consul2.readthedocs.io/en/latest/
python-consul has similar https://python-consul.readthedocs.io/en/latest/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.