Questions tagged [kong]

Kong is a cloud-native, fast, scalable, and distributed Microservice Abstraction Layer (also known as an API Gateway or API Middleware). Made available as an open-source project in 2015, its core values are high performance and extensibility. Actively maintained, Kong is widely used in production at companies ranging from startups to Global 5000 as well as government organizations.

Kong is an open-source (under Apache Version 2.0 license) management layer for Microservices and APIs, delivering high performance and reliability. Built on top of NGINX, Kong can be fully operated with a simple and easy to use RESTful API.

It provides an easy way to add extra functionality to APIs and microservices through the use of Kong Plugins.

741 questions
7
votes
2 answers

How to configure ssl for API in kong

I'm working on kong 0.13.1. Following the docs I added certificate as follows: { "data": [ { "cert": "certificate is really here", "created_at": 1529667116000, "id":…
Luke
  • 2,350
  • 6
  • 26
  • 41
7
votes
3 answers

How can I add a customized kong plugin into dockerized kong

I have a KONG container running and I want to add a customized plugin to it, specifically a JWT crafter. I've downloaded the plugin but I don't know how to make it start with my KONG container. so please if anyone have been into the same position or…
7
votes
5 answers

How to start Kong?

I am getting following error, when I tried to start Kong in Ubuntu kong start [-c /path/to/kong.conf] prefix directory /usr/local/kong not found, trying to create it 2017/11/05 21:11:41 [warn] ulimit is currently set to "1024". For better…
7
votes
1 answer

User registration + authentication for microservices integrated with kong

I am in the process of developing a node.js microservices-based application. The individual microservices are developed including one that already handles the authentication, authorization and registration processes. I am reviewing using kong as…
user1790300
  • 2,143
  • 10
  • 54
  • 123
7
votes
1 answer

Why Cassandra is used for Kong Api Gateway

Kong uses Cassandra or Postgres. Cassandra is know for write heavy application.I don't see Kong api gateway is that much write heavy,also none of table uses Cassandra one of the important feature partition key. My doubt is why Cassandra is used for…
Nishat
  • 881
  • 1
  • 17
  • 30
6
votes
1 answer

Docker,Error: cannot run migrations: database needs bootstrapping;

This is what I have tried docker run --rm \ > --link kong-database:kong-database \ > -e "KONG_DATABASE=postgres" \ > -e "KONG_PG_HOST=kong-database" \ > kong:latest kong migrations up But I have Error: cannot run migrations: database needs…
Richard Rublev
  • 7,718
  • 16
  • 77
  • 121
6
votes
3 answers

Custom plugin for Kong v1.0.2 is enabled but not installed

I have a custom plugin for Kong which worked fine for Kong v0.14.1 but after I upgraded to v.1.0.2 it's throwing an error. OS used: macOS Mojave In kong.conf file I have this code: log_level = debug plugins=my-custom-plugin I try to start Kong with…
Moldovan Daniel
  • 1,521
  • 14
  • 23
6
votes
2 answers

Custom Authentication Service in Kong API Gateway

We are currently analyzing the API gateway for our microservices and Kong is one of the possible candidate. We discovered that Kong support several plugins for authentication but the all based on users stored in Kong database itself. We need to…
Rahul Garg
  • 4,069
  • 1
  • 34
  • 31
6
votes
1 answer

NgInx as reverse proxy with Kong

I wanna use Kong as my API Gateway, running in a Docker container. Each request must go first through a NgInx server and if the requested uri matches example.com/api it must result in the api, registered inside Kong. To achieve this I've added my…
ByTheWay
  • 63
  • 1
  • 6
6
votes
2 answers

My curl POST gets "Empty reply from server"

I am following this guide: http://lua-programming.blogspot.co.uk/ I am at the part where I need to create my API. I have used kong before and have created a script to make an api. The problem is that I cannot create an API. My script is literally a…
efe
  • 101
  • 1
  • 1
  • 4
6
votes
1 answer

Does Kong support API Aggregation

We are just researching a couple of API gateways, in particular Kong. Looking through their documentation it seems they support request/response transformation. However, if I understand this correctly, this seems limited to headers. Does Kong…
Phil
  • 73
  • 1
  • 3
5
votes
1 answer

Kong DB-less in Docker

As of Kong 1.1 you can use db-less (declarative) configuration. I can't find any information on how to start a Kong 1.1 based container in db-less/declarative mode without having to set up a db connection first. Does anyone know how to do…
tisaksen
  • 329
  • 4
  • 10
5
votes
1 answer

What is the recommended way to manage dev dependencies in Lua projects?

I'm building a Lua library (an internal kong plugin actually), and this is the first time I'm using Lua - let alone writing production code with it. I've made it a luarock. From what I can see, the rockspec lets me specify other libraries as…
CodeMangler
  • 1,709
  • 1
  • 20
  • 22
5
votes
2 answers

Kong in Docker : Configuring API endpoints without curl

Is there a way to add API endpoints in Kong without using curl? I have Kong up and running in a docker container using docker-compose and I would like to be able to pass in a configuration file (or what-have-you) on container spin up that outlines…
4
votes
2 answers

Is it possible to validate Auth0 JWTs with Kong without assigning to users

I have an authentication flow with auth0 that exists outside of a declaratively configured Kong Gateway setup but still want to validate tokens at the edge. It's expected that calling users will always pass an authorization header with a bearer…
Ian
  • 544
  • 3
  • 16
1
2
3
49 50