Kong: [request] Support TCP

Created on 29 May 2015  路  7Comments  路  Source: Kong/kong

tasfeature

Most helpful comment

even if plugins wouldn't work with the tcp proxy enhancement, IMO there are a lot of use cases without plugins, which might justify such a feature. I would like to see such an enhancement integrated with /upstreams/:id/targets for dynamic tcp load balancing. Of course we can do this with other tools(ha proxy, etc), but the ability to perform this level of load balancing for tcp within kong makes it easier to have one set of tools hitting kong admin interface configuring everything for both http and tcp.

Maybe a dynamic configuration could be added using the existing (Nginx LB)

stream {
    upstream stream_redis {
        server host1:123;
        server host1:456;
  }
}

All 7 comments

+1

Supporting TCP would be a pretty nice mod for allowing Kong to gateway IoT traffic heading towards MQTT servers downstream.

My use case: proxying redis server

even if plugins wouldn't work with the tcp proxy enhancement, IMO there are a lot of use cases without plugins, which might justify such a feature. I would like to see such an enhancement integrated with /upstreams/:id/targets for dynamic tcp load balancing. Of course we can do this with other tools(ha proxy, etc), but the ability to perform this level of load balancing for tcp within kong makes it easier to have one set of tools hitting kong admin interface configuring everything for both http and tcp.

Maybe a dynamic configuration could be added using the existing (Nginx LB)

stream {
    upstream stream_redis {
        server host1:123;
        server host1:456;
  }
}

+1 this would be great to forward ssh connections into services. e.g. Gogs

+1 my use case would be to proxy to postgres or zookeeper. While it would have very limited scope in Kong, it would make it nice to have a single place to manage all ingress (e.g. Kong), rather than have to spin up another system for just L4 traffic

Added via #4009

Was this page helpful?
0 / 5 - 0 ratings