Skip to content

Cassandra Source Connector lacks documentation regarding BUCKETTIMESERIES incremental mode #1589

Open
@antomys

Description

There is an implemented BUCKETTIMESERIES incremental mode in the Cassandra source, but no documentation exists.

object TimestampType extends Enumeration {
  type TimestampType = Value
  val TIMESTAMP, DSESEARCHTIMESTAMP, TIMEUUID, TOKEN, BUCKETTIMESERIES, NONE = Value
}

What should be added to the documentation:

  • Incremental mode: BUCKETTIMESERIES.

  • Documentation for fields, which are used for BUCKETTIMESERIES mode:

  val BUCKET_TIME_SERIES_MODE     = s"$CONNECTOR_PREFIX.bucket.timeseries.mode"
  val BUCKET_TIME_SERIES_MODE_DOC = "The bucket mode to retrieve timeseries data. DAY, HOUR, MINUTE, SECOND."

  val BUCKET_TIME_SERIES_FORMAT     = s"$CONNECTOR_PREFIX.bucket.timeseries.format"
  val BUCKET_TIME_SERIES_FORMAT_DOC = "The bucket format to retrieve timeseries data"

  val BUCKET_TIME_SERIES_FIELD_NAME         = s"$CONNECTOR_PREFIX.bucket.timeseries.field.name"
  val BUCKET_TIME_SERIES_FIELD_NAME_DOC     = "The name of the field to use on bucket"
  val BUCKET_TIME_SERIES_FIELD_NAME_DEFAULT = "bucket"
  • Also, there is no documentation regarding the following configuration fields:
  val CONNECT_TIMEOUT         = s"$CONNECTOR_PREFIX.connect.timeout.ms"
  val CONNECT_TIMEOUT_DOC     = "The Cassandra driver connection timeout in milliseconds."
  val DEFAULT_CONNECT_TIMEOUT = 5000

  val READ_TIMEOUT         = s"$CONNECTOR_PREFIX.read.timeout.ms"
  val READ_TIMEOUT_DOC     = "The Cassandra driver read timeout in milliseconds."
  val DEFAULT_READ_TIMEOUT = 12000

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions