Package gorsat

Interface BatchedReadSourceConfig

  • All Superinterfaces:
    org.aeonbits.owner.Config, java.io.Serializable

    public interface BatchedReadSourceConfig
    extends org.aeonbits.owner.Config
    Created by sigmar on 26/04/2017.
    • Field Detail

      • BATCHEDREADSOURCETIMETRIGGERMS_KEY

        static final java.lang.String BATCHEDREADSOURCETIMETRIGGERMS_KEY
        See Also:
        Constant Field Values
      • BATCHOFFERTIMEOUTMS_KEY

        static final java.lang.String BATCHOFFERTIMEOUTMS_KEY
        See Also:
        Constant Field Values
      • BATCHLOGINTERVALMS_KEY

        static final java.lang.String BATCHLOGINTERVALMS_KEY
        See Also:
        Constant Field Values
      • BATCHMAXGORLINES_KEY

        static final java.lang.String BATCHMAXGORLINES_KEY
        See Also:
        Constant Field Values
      • BATCHBUFFERFILLTIME_KEY

        static final java.lang.String BATCHBUFFERFILLTIME_KEY
        See Also:
        Constant Field Values
      • CONNECTIONRETRIES_KEY

        static final java.lang.String CONNECTIONRETRIES_KEY
        See Also:
        Constant Field Values
      • CONNECTIONRETRYTIME_KEY

        static final java.lang.String CONNECTIONRETRYTIME_KEY
        See Also:
        Constant Field Values
      • CONNECTIONRETRYEXPONENT_KEY

        static final java.lang.String CONNECTIONRETRYEXPONENT_KEY
        See Also:
        Constant Field Values
    • Method Detail

      • getConnectionRetries

        @Key("gor.cmd.connection.retries")
        @DefaultValue("10")
        @Documentation("Maximum number of connection retries")
        java.lang.Integer getConnectionRetries()
      • getConnectionRetryExponent

        @Key("gor.cmd.connection.retry.exponent")
        @DefaultValue("0.0")
        @Documentation("Maximum number of connection retries")
        java.lang.Double getConnectionRetryExponent()
      • getConnectionRetryTime

        @Key("gor.cmd.connection.retry.time")
        @DefaultValue("1s")
        @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class)
        @Documentation("Connection retry wait time")
        java.time.Duration getConnectionRetryTime()
      • getFrameBufferSize

        @Key("gor.cmd.framebuffer.size")
        @DefaultValue("4000000")
        @Documentation("Limit the size of gorline batch to fit in GRPC/HTTP2 framebuffer")
        java.lang.Integer getFrameBufferSize()
      • getMaxGorlines

        @Key("gor.batch.max.gorlines")
        @DefaultValue("16384")
        @Documentation("Maximum number of gorlines in batch")
        java.lang.Integer getMaxGorlines()
      • getBufferFillTime

        @Key("gor.bufferfill.time")
        @DefaultValue("1000ms")
        @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class)
        @Documentation("Max milliseconds until read buffer is flushed")
        java.time.Duration getBufferFillTime()
      • getBufferFlushTimout

        @Key("gor.bufferflush.timetrigger")
        @DefaultValue("100ms")
        @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class)
        @Documentation("Minimum milliseconds until read buffer is flushed")
        java.time.Duration getBufferFlushTimout()
      • getBatchOfferTimeout

        @Key("gor.batch.offer.timeout")
        @DefaultValue("100ms")
        @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class)
        @Documentation("Minimum milliseconds until batch offer times out")
        java.time.Duration getBatchOfferTimeout()
      • getLogInterval

        @Key("gor.batch.log.interval")
        @DefaultValue("3 seconds")
        @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class)
        @Documentation("Log interval while waiting for a batch")
        java.time.Duration getLogInterval()