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 20:15:00 UTC

[jira] [Closed] (FLINK-7150) Code improvements to the ElasticSearch connector

     [ https://issues.apache.org/jira/browse/FLINK-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen closed FLINK-7150.
-------------------------------

> 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)