Coder Social home page Coder Social logo

sogno-job-queue's People

Contributors

haifischbecken avatar m-mirz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

pteixeiraubi

sogno-job-queue's Issues

Health checks for Connection/Channel

The get_connection() and get_channel() methods determine if the channel/connection is healthy and don't reestablish them if they are.
Connection.is_closed is False even if the message broker terminated the connection due to timeout making that health check impossible.

Give access to message metadata for consumers

Currently consumers only recieve the message of the body. This is a problem because:

  1. Routing keys can give information about how to handle the message.
  2. Long running handling (like training a neural network) should ack the message before starting the task to avoid timeout.

Current work around: Use the get_message() method in a loop to get the whole message.

Missing sognojq.my_retry package

Describe the bug
Missing sognojq.my_retry package on setuptools

To Reproduce
Steps to reproduce the behavior:
2. Run on Python

import sognojq
from sognojq.amqp import AmqpPublisher
from sognojq.my_retry import retry

Expected behavior

from sognojq.amqp import AmqpPublisher
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/.local/lib/python3.8/site-packages/sognojq/amqp.py", line 11, in <module>
    from sognojq.my_retry import retry
ModuleNotFoundError: No module named 'sognojq.my_retry'

from sognojq.my_retry import retry
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
**ModuleNotFoundError: No module named 'sognojq.my_retry'**

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 LTS
  • Python 3.8.10

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.