[
https://issues.apache.org/jira/browse/FLINK-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-7827:
----------------------------------
Labels: auto-deprioritized-major httpstreaming netcat stale-minor streaming
(was: auto-deprioritized-major httpstreaming netcat streaming)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> creating and starting a NetCat in test cases programmatically
> -------------------------------------------------------------
>
> Key: FLINK-7827
> URL: https://issues.apache.org/jira/browse/FLINK-7827
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Reporter: bluejoe
> Priority: Minor
> Labels: auto-deprioritized-major, httpstreaming, netcat,
> stale-minor, streaming
>
> hi, all
> I have written a MockNetCat class, which help developers start a netcat
> programmatically, instead of manually launching
> {{nc -lk 9999}}
> command for test
> developers can start a mock NetCat server in test cases and send data to the
> server (simulating user input text in the nc shell)
> is this feature ok to create a PR to flink?
> use of MockNetCat is very simple, like:
> {{var nc: MockNetCat = MockNetCat.start(9999);}}
> this starts a NetCat server, and data can be generated using following code:
> {{nc.writeData("hello\r\nworld\r\nbye\r\nworld\r\n");}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)