Package

com.redislabs.provider.redis

streaming

Permalink

package streaming

Visibility
  1. Public
  2. All

Type Members

  1. case class ConsumerConfig(streamKey: String, groupName: String, consumerName: String, offset: Offset = Latest, rateLimitPerConsumer: Option[Int] = None, batchSize: Int = 100, block: Long = 500) extends Product with Serializable

    Permalink

    streamKey

    redis stream key

    groupName

    consumer group name

    consumerName

    consumer name

    offset

    stream offset

    rateLimitPerConsumer

    maximum retrieved messages per second per single consumer

    batchSize

    maximum number of pulled items in a read API call

    block

    time in milliseconds to wait for data in a blocking read API call

  2. case class IdOffset(v1: Long, v2: Long) extends Offset with Product with Serializable

    Permalink

    Specific id in the form of 'v1-v2'

    Specific id in the form of 'v1-v2'

    v1

    first token of the id

    v2

    second token of the id

  3. case class ItemId(v1: Long, v2: Long) extends Product with Serializable

    Permalink

    Item id in the form of 'v1-v2'

    Item id in the form of 'v1-v2'

    v1

    first token of the id

    v2

    second token of the id

  4. sealed trait Offset extends AnyRef

    Permalink

    Represents an offset in the stream

  5. class RedisInputDStream[T] extends ReceiverInputDStream[T]

    Permalink

    Receives messages from Redis List

  6. class RedisStreamReceiver extends Receiver[StreamItem] with Logging

    Permalink

    Receives messages from Redis Stream

  7. case class StreamItem(streamKey: String, id: ItemId, fields: Map[String, String]) extends Product with Serializable

    Permalink

    Represent an item in the stream

    Represent an item in the stream

    streamKey

    stream key

    id

    item(entry) id

    fields

    key/value map of item fields

Value Members

  1. object Earliest extends Offset with Product with Serializable

    Permalink

    Earliest offset, '0-0' id

  2. object Latest extends Offset with Product with Serializable

    Permalink

    Latest offset, known as a '$' special id

Ungrouped