Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7150

Code improvements to the ElasticSearch connector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.4.0
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sewen Stephan Ewen
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: