celery / kombu

Messaging library for Python.
http://kombu.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.86k stars 927 forks source link

make msgpack encoder compliant with JSON one #1388

Open sevdog opened 3 years ago

sevdog commented 3 years ago

As of now kombo default JSON encoder supports a type-conversion mechanism

https://github.com/celery/kombu/blob/241b5dcff8a7c8ad411e1b325d59e47acfa9e1ed/kombu/utils/json.py#L36-L58

Also msgpack.packb supports a default callback to handle non-native-types. If msgpack serializer behaves just like JSON one than it would not be a problem to switch between one of these two serializers.

open-collective-bot[bot] commented 3 years ago

Hey @sevdog :wave:, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us - every little helps!

We also offer priority support for our sponsors. If you require immediate assistance please consider sponsoring us.