Project: springxd
Issue XD-1752: multiple streams with same port for HTTP Source 
Using a singleXD VM I can create multiple streams with the same http port. Stream Name Stream Definition Status ----------- ----------------- ------ xd:>stream create --definition "http --port=8081|file --dir=/tmp/test3" --name test1 --deploy Created and deployed new stream 'test1' xd:>stream create --definition "http --port=8081|file --dir=/tmp/test3" --name test1 --deploy Created and deployed new stream 'test1' xd:>stream create --definition "http --port=8081|file --dir=/tmp/test3" --name test2 --deploy Created and deployed new stream 'test2' xd:>stream create --definition "http --port=8081|file --dir=/tmp/test3" --name test3 --deploy Created and deployed new stream 'test3' xd:>stream list Stream Name Stream Definition Status ----------- -------------------------------------- -------- test1 http --port=8081|file --dir=/tmp/test3 deployed test2 http --port=8081|file --dir=/tmp/test3 deployed test3 http --port=8081|file --dir=/tmp/test3 deployed ISSUES 1) No error is returned for the duplicate use of the port. In M5 an error was returned. 2) The status shows as "deployed" for all three. 3) Even though there are three streams. Only the first stream is active. I can post to the first stream that was declared and it will successfully post to the directory. If I post to the remaining streams, I don't get an error and I no data is written to the flle. 4) If I remove the working stream, the remaining stream still don't work.
Story points: 4