You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Márton Balassi (JIRA)" <ji...@apache.org> on 2014/09/20 13:09:33 UTC

[jira] [Created] (FLINK-1104) Eliminate Tuple1 from flink-streaming-connectors

Márton Balassi created FLINK-1104:
-------------------------------------

             Summary: Eliminate Tuple1 from flink-streaming-connectors
                 Key: FLINK-1104
                 URL: https://issues.apache.org/jira/browse/FLINK-1104
             Project: Flink
          Issue Type: Task
          Components: Streaming
            Reporter: Márton Balassi
            Priority: Minor


The streaming connectors contains unnecessary usage of Tuple1. E.g. in KafkaSource:

@Override
public Tuple1<String> deserialize(byte[] msg) {
	String s = new String(msg);
	if(s.equals("q")){
		closeWithoutSend();
	}
	return new Tuple1<String>(s);
}

Please adjust the underlying interfaces and update the documentation accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)