Questions tagged [api-gateway]

A service which acts as a gateway for many other services. Providing discovery, registry, security, circuit breaker, fault tolerance among other things.

Useful links:

1246 questions
3
votes
1 answer

API Gateway with MQTT support (IOT)

Recently I am working with along with IOT department, right our project is on discussion and creating core architecture of an application. client specification is we must use MQTT protocol to communicate between device and java application (eclipse…
Himeshgiri gosvami
  • 2,559
  • 4
  • 16
  • 28
3
votes
1 answer

How to rate limit per user in API Gateway?

I'm running a business API on AWS, through API Gateway and Lambda. Currently, I handle rate limiting with the built in usage plans and api keys. Each account tier (think basic, medium, premium) is associated to a usage plan, to which each customer's…
3
votes
2 answers

Kubernetes Ingress-Controller and AWS API Gateway client certificate

I have an issue, I want to use an API Gateway client certificate with my ingress config. I've generated the certificate on AWS. I've created the secret of thi certificate: kubectl create secret generic api…
3
votes
2 answers

How to use redis with kong api gateway

We are using kong api gateway as a single gateway for all apis. we are facing latency issue with few of our api's (1500-2000ms). later when we checked, latency was being created because of the "rate limiting" plugin. When we disable the plugin,…
Divy
  • 171
  • 2
  • 7
3
votes
1 answer

API Gateway and ACL

I'm designing a microservice based application with two API endpoints, and one of them is for user access. Users, authenticated with JWT, can belong to different organizations which are in turn organized hierachically. Each user can have some role,…
3
votes
0 answers

How to stich (merge, join, ...) multiple OData microservices together

we want to publish multiple datasources in our company via separate OData microservices. All these microservices shall be presented by one API Gateway. The gateway shall also stich the metadata together in order to look like ONE service. I found the…
masterchris_99
  • 2,683
  • 7
  • 34
  • 55
3
votes
0 answers

use 'X-Forwarded-For' instead of '$remote_ip' in pluggin 'rate-limiting'

We have many layers before Kong server. How can we use the plugin rate-limiting to limit requests by every enduser's client IP? I want the plugin rate-limiting to read the header X-Forwarded-For to get the users real IP. But I think it is using…
stoner
  • 39
  • 6
3
votes
0 answers

Kong configuration file not loading the new modifications

Hello I have a Kong docker image, and I modified the Kong configuration file, but when I reload my Kong container, it does not take into consideration the new modifications(adding a customized plugin and the path of it) I've saved the file but when…
3
votes
0 answers

Read tarfile in as bytes

I have a setup in AWS where I have a python lambda proxying an s3 bucket containing .tar.gz files. I need to return the .tar.gz file from the python lambda back through the API to the user. I do not want to untar the file, I want to return the…
asdf
  • 2,927
  • 2
  • 21
  • 42
3
votes
0 answers

Using RabbitMQ for communication in a Microservice architecture but should I create a API Gateway on top?

I basically have a smaller software that is using the Microservice architecture. I am currently using RabbitMQ to do the communication between UI and services and that works great. However I am thinking about creating a new microservice, a API…
codingcow
  • 31
  • 5
3
votes
0 answers

Spring Cloud Gateway: Monitor health and location for Sample code

I'm fairly new to spring cloud gateway and I am thinking of using it as a main gateway to my application. I was wondering if Spring cloud gateway provides the capability to monitor health of the gateway (and also monitor the health of the…
rm12345
  • 1,089
  • 3
  • 18
  • 32
3
votes
1 answer

Pass decoded JWT payload to micro services

We are changing our application authentification architecture to switch to Json Web Token. Actually, incoming requests first pass through an API Gateway that dispatch requests to various micro services of our stack. The authentification and…
Clement
  • 3,860
  • 4
  • 24
  • 36
3
votes
2 answers

API gateway and microservice authentication

How API Gateway and Micro services works. Could anyone explain the basic flow of Micro service architecture with Gateway. I couldn't find the proper answer. Say we have auth server and customer micro service running on separate instances and in…
Karesh A
  • 1,731
  • 3
  • 22
  • 47
3
votes
1 answer

AWS DynamoDB UnknownOperationException

I´ve tried to set up a very simple Table just like in this example but it does not work. When I test it in the AWS Console of API Gateway I always get the following response: Endpoint response body before transformations: …
3
votes
1 answer

Grpc and API gateways

I was considering shifting my back end rest api microservices to grpc servers. I use tyk as the api gateway to route http requests. How does an api gateway handle grpc requests?
user3302146
  • 335
  • 4
  • 15