Interface FlinkEndpointBuilderFactory.FlinkEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    FlinkEndpointBuilderFactory

    public static interface FlinkEndpointBuilderFactory.FlinkEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint for the Flink component.
    • Method Detail

      • collect

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder collect​(boolean collect)
        Indicates if results should be collected or counted. The option is a: <code>boolean</code> type. Default: true Group: producer
        Parameters:
        collect - the value to set
        Returns:
        the dsl builder
      • collect

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder collect​(String collect)
        Indicates if results should be collected or counted. The option will be converted to a <code>boolean</code> type. Default: true Group: producer
        Parameters:
        collect - the value to set
        Returns:
        the dsl builder
      • dataSet

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataSet​(Object dataSet)
        DataSet to compute against. The option is a: <code>org.apache.flink.api.java.DataSet</code> type. Group: producer
        Parameters:
        dataSet - the value to set
        Returns:
        the dsl builder
      • dataSet

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataSet​(String dataSet)
        DataSet to compute against. The option will be converted to a <code>org.apache.flink.api.java.DataSet</code> type. Group: producer
        Parameters:
        dataSet - the value to set
        Returns:
        the dsl builder
      • dataSetCallback

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataSetCallback​(Object dataSetCallback)
        Function performing action against a DataSet. The option is a: <code>org.apache.camel.component.flink.DataSetCallback</code> type. Group: producer
        Parameters:
        dataSetCallback - the value to set
        Returns:
        the dsl builder
      • dataSetCallback

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataSetCallback​(String dataSetCallback)
        Function performing action against a DataSet. The option will be converted to a <code>org.apache.camel.component.flink.DataSetCallback</code> type. Group: producer
        Parameters:
        dataSetCallback - the value to set
        Returns:
        the dsl builder
      • dataStream

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataStream​(Object dataStream)
        DataStream to compute against. The option is a: <code>org.apache.flink.streaming.api.datastream.DataStream</code> type. Group: producer
        Parameters:
        dataStream - the value to set
        Returns:
        the dsl builder
      • dataStream

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataStream​(String dataStream)
        DataStream to compute against. The option will be converted to a <code>org.apache.flink.streaming.api.datastream.DataStream</code> type. Group: producer
        Parameters:
        dataStream - the value to set
        Returns:
        the dsl builder
      • dataStreamCallback

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataStreamCallback​(Object dataStreamCallback)
        Function performing action against a DataStream. The option is a: <code>org.apache.camel.component.flink.DataStreamCallback</code> type. Group: producer
        Parameters:
        dataStreamCallback - the value to set
        Returns:
        the dsl builder
      • dataStreamCallback

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder dataStreamCallback​(String dataStreamCallback)
        Function performing action against a DataStream. The option will be converted to a <code>org.apache.camel.component.flink.DataStreamCallback</code> type. Group: producer
        Parameters:
        dataStreamCallback - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default FlinkEndpointBuilderFactory.FlinkEndpointBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder