Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra Source Connector lacks documentation regarding BUCKETTIMESERIES incremental mode #1589

Open
antomys opened this issue Jan 23, 2025 · 0 comments

Comments

@antomys
Copy link

antomys commented Jan 23, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant