Questions tagged [nameko]

Python framework for building microservices

Python framework for building microservices

55 questions
0
votes
1 answer

Error while creating a service using nameko for Pysnmp get_request--Attempted "nameko_entrypoints" operation on ASN.1 schema object

I am new to pysnmp and nameko. I have been assignment a work to create a service in nameko framework to perform snmp get_request using pysnmp library. Below is the code i have tried from pysnmp.hlapi import * from nameko.rpc import rpc class…
s_kifayath
  • 17
  • 5
0
votes
1 answer

Weird behaviour for python cookies, unable to set cookies

I am using Python Nameko as my microservice framework, and when I try to set cookies in my get request, I can't seems to do it, below is my code: from http import cookies from nameko.web.handlers import http @http('GET', '/hello') def…
Joe. L
  • 406
  • 2
  • 14
0
votes
1 answer

Integrate Nodejs and Python using rabbitmq

I have 3 microservices built using python, rabbitmq and nameko. I have 1 nodejs service which I want to register onto rabbitmq. I want the python service to communicate with the nodejs service over rabbitmq rpc. I searched numerous links on web, but…
0
votes
1 answer

Unserializable value

I'm currently stuck with a serialization problem. The data seems ok in Nameko but not in Flask because an error occurred. I tried to serialise and unserialize, but it didn't work. Here is an example of data from a MongoDB database : {u'building':…
Oyo
  • 47
  • 8
0
votes
1 answer

Can't connect to RabbitMQ with Flask and Nameko

I'm currently learning how to program in Python and, at the same time, how to use Nameko to make microservices and Flask to make a Website. The idea, here, is to make microservices and let them be available through RabbitMQ while my Flask app is…
Oyo
  • 47
  • 8
0
votes
1 answer

Cryptic AttributeError: 'tuple' object has no attribute 'setsockopt' error message

I am trying to deploy a dockerized python (nameko) application. Everything works as expected to the point where I am trying to access one of the modules via GET method. There I receive a very cryptic error: ... File…
John Moutafis
  • 22,254
  • 11
  • 68
  • 112
0
votes
2 answers

Nameko - Invoke remote procedure just once when service is loaded

As per last question about invoking remote RPCs, an additional example to the one included in the documentation would be this one: $ cat nameko.sh #!/bin/bash /usr/local/bin/nameko run service1:Microservice1 & nameko_id=$! echo 'Microservice 1 PID:…
M.E.
  • 4,955
  • 4
  • 49
  • 128
0
votes
1 answer

Python Nameko multiple projects (development)

We're using Flask and nameko with RabbitMQ in our project setup. We use this for multiple projects (we've started 2 months ago), and we have issue with service names when developing. We have two projects - A and B, and both of them has UserService…
0
votes
1 answer

How to change listening port in nameko?

Has anyone used nameko before? In its documentation, I can't find anything about changing listening port: http://nameko.readthedocs.io/en/stable/built_in_extensions.html#http-get-post Is this possible?
laike9m
  • 18,344
  • 20
  • 107
  • 140
-1
votes
1 answer

Flow architecture backend in python

I'm currently trying to refactor a program from monolith to micro-service architecture and I'm not sure how to proceed: The goal of the program is straight forward, it receives raw data (bytes) , split it and convert it to something meaningful and…
1 2 3
4