Project: springxd
Issue XD-1366: Unable to destroy stream when using http source
When destroying a stream that contains an http source, an exception is thrown. Thus even though the stream is destroyed all resources are not released i.e. port 9000 is still in use. NettyHttpInboundChannelAdapter is currently setup with child.tcpNoDelay set to true. And when running on my system and on EC2 the http needs more time to release the port. My recommendation is to set bootstrap.setOption("child.tcpNoDelay", false) instead of true.
Story points: 3