You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/07/11 11:06:00 UTC
[jira] [Created] (FLINK-7150) Code improvements to the
ElasticSearch connector
Stephan Ewen created FLINK-7150:
-----------------------------------
Summary: Code improvements to the ElasticSearch connector
Key: FLINK-7150
URL: https://issues.apache.org/jira/browse/FLINK-7150
Project: Flink
Issue Type: Improvement
Components: ElasticSearch Connector
Affects Versions: 1.3.1
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Fix For: 1.4.0
I suggest some improvements to the handling of generic types, inner classes, and serializability:
- Remove Serializable from the {{RequestIndexer}}, because they are neither required to be serializable (they are created in open()) nor is the main implementation ({{BulkProcessorIndexer}}) actually serializable.
- Make {{BulkFlushBackoffPolicy}} a static inner class, which avoids adding outer class during serialization and clears various warnings about raw reference to outer class
- Fixe various raw generic type warnings for the use of {{ActionRequest}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)