Skip to main content

Django intergration for nameko microservice framework.

Project description

nameko-django

Django intergration for nameko microservice framework

Custom Kombu Serializer for django Object using msgpack and pickle

This serializer is fully compatible with msgpack so it can be used like this:

serializer: 'django_msgpackpickle'
ACCEPT: ['msgpack', 'django_msgpackpickle']
SERIALIZERS:
  msgpack:
    encoder: 'msgpack.dumps'
    decoder: 'nameko_django.serializer.loads'
    content_type: 'application/x-msgpack'
    content_encoding: 'binary'

In order to migrate an existing microservices stack to use this new serializer first install and setup all project

serializer: 'msgpack'
ACCEPT: ['msgpack', 'django_msgpackpickle']
SERIALIZERS:
  msgpack:
    encoder: 'msgpack.dumps'
    decoder: 'nameko_django.serializer.loads'
    content_type: 'application/x-msgpack'
    content_encoding: 'binary'

This will accept both of the msgpack and django_msgpackpickle but only output of result portfolio using msgpack Once all service migrated, then switch to the first configuration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nameko-django-1.0.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distributions

nameko_django-1.0.0-py2.7.egg (5.6 kB view details)

Uploaded Source

nameko_django-1.0.0-py2-none-any.whl (16.0 kB view details)

Uploaded Python 2

File details

Details for the file nameko-django-1.0.0.tar.gz.

File metadata

  • Download URL: nameko-django-1.0.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10

File hashes

Hashes for nameko-django-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8f307ff365babf82b222ef00b63348143ed6af6714b9ac917a22231271ea9ac2
MD5 aa13e0070e38d1454955dc05a16ada44
BLAKE2b-256 e53698c1596653502f35cd90bd691b57bf45b3cd4ce712ddfc8eacd02608b669

See more details on using hashes here.

File details

Details for the file nameko_django-1.0.0-py2.7.egg.

File metadata

  • Download URL: nameko_django-1.0.0-py2.7.egg
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10

File hashes

Hashes for nameko_django-1.0.0-py2.7.egg
Algorithm Hash digest
SHA256 b2a95036527604d09aee503115cadf6ec1bc5b245a9884b4364ca14fb5c54e1d
MD5 a7553f0222fa34261c5d2b36b4d1eb58
BLAKE2b-256 163cd93a9ba49cbb554929a1dcd30def8986a7968863e70f440a6aee40a67d31

See more details on using hashes here.

File details

Details for the file nameko_django-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: nameko_django-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10

File hashes

Hashes for nameko_django-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 e825cf5cd26615f2b4834eb9e9b041c6dc670397330f2fc5fab6e6606c252746
MD5 74058760e5e469888c7e99f07706406c
BLAKE2b-256 426562126ff97833174744dc8af23a9c210c397aa8b3b5107a86f4b21655502c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page