Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion in-progress/astra-streaming-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,8 @@ key:[null], properties:[], content:hello

CDC for {astra-db} automatically captures changes in real time, de-duplicates the changes, and then streams the clean set of changed data into xref:astra-streaming:ROOT:index.adoc[{astra-stream}] where it can be processed by client applications or sent to downstream systems.

For more information about using the {product} to configure CDC, see xref:ROOT:managing.adoc#cdc[Configure Change Data Capture].
For more information about using the {product} to configure CDC, see
//xref:ROOT:managing.adoc#cdc[Configure Change Data Capture].
Comment thread
aimurphy marked this conversation as resolved.
Resolved
Comment thread
aimurphy marked this conversation as resolved.
Resolved
Comment thread
aimurphy marked this conversation as resolved.
Resolved

Use the `streaming list-cdc` command to list the CDC connections associated with a tenant:

Expand Down
83 changes: 1 addition & 82 deletions in-progress/managing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2574,87 +2574,6 @@ OPTIONS
Database name (if unique) or Database identifier
----








=== `db cqlsh` options

.All db cqlsh options
[source,console]
----
NAME
astra db cqlsh - Start Cqlsh

SYNOPSIS
astra db cqlsh [ {-cf | --config-file} <CONFIG_FILE> ]
[ {-conf | --config} <CONFIG_SECTION> ]
[ --connect-timeout <TIMEOUT> ] [ --debug ]
[ {-e | --execute} <STATEMENT> ] [ --encoding <ENCODING> ]
[ --env <Environment> ] [ {-f | --file} <FILE> ]
[ {-k | --keyspace} <KEYSPACE> ] [ --no-color ]
[ {-o | --output} <FORMAT> ] [ --request-timeout <TIMEOUT> ]
[ --token <AUTH_TOKEN> ] [ {-v | --verbose} ] [ --version ]
[--] <DB>

OPTIONS
-cf <CONFIG_FILE>, --config-file <CONFIG_FILE>
Configuration file (default = ~/.astrarc)

-conf <CONFIG_SECTION>, --config <CONFIG_SECTION>
Section in configuration file (default = ~/.astrarc)

--connect-timeout <TIMEOUT>
Connection timeout in seconds (default is 10

--debug
Show additional debugging information.

-e <STATEMENT>, --execute <STATEMENT>
Execute the statement and quit.

--encoding <ENCODING>
Output encoding. Default encoding: utf8.

--env <Environment>
Astra Environment to use

-f <FILE>, --file <FILE>
Execute commands from a CQL file, then exit.

-k <KEYSPACE>, --keyspace <KEYSPACE>
Authenticate to the given keyspace.

--no-color
Remove all colors in output

-o <FORMAT>, --output <FORMAT>
Output format, valid values are: human,json,csv

--request-timeout <TIMEOUT>
Request timeout in seconds (default is 20

--token <AUTH_TOKEN>
Key to use authenticate each call.

-v, --verbose
Verbose mode with log in console

--version
Display information of cqlsh.

--
This option can be used to separate command-line options from the
list of arguments (useful when arguments might be mistaken for
command-line options)

<DB>
Database name (if unique) or Database identifier
----

== Use {dsbulk}

The https://github.com/datastax/dsbulk[{dsbulk}] lets you load, unload, and count data in your database tables.
Expand Down Expand Up @@ -3546,7 +3465,7 @@ https://api.astra.datastax.com/v2/streaming/tenants/cdc-demo-tenant
[OK] Tenant 'cdc-demo-tenant' has being created.
----

. Use `xref:ROOT:managing.adoc#cqlsh[cqlsh]` to create a table with a primary key column in your database.
. Use `xref:quickstarts:cqlsh.adoc[cqlsh]` to create a table with a primary key column in your database.
+
[source,bash]
----
Expand Down
1 change: 0 additions & 1 deletion modules/ROOT/pages/install.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
= Install the {product}
:navtitle: Install the CLI
:page-aliases: ROOT:installation.adoc, ROOT:getting-started.adoc
:description: {product} makes it easier to integrate {product-short} into your applications and workflows by letting you perform common platform tasks for {astra-db} and {astra-stream} from the command line.

Install the {product} to create and manage {astra-db} databases and {astra-stream} tenants from the command line.
Expand Down
3 changes: 1 addition & 2 deletions modules/ROOT/pages/manage-cli.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
= Connect and manage the {product}
:navtitle: Connect and manage the CLI
:page-aliases: ROOT:managing.adoc, ROOT:astra-streaming-cli.adoc, ROOT:administration.adoc

////
Author's note: The following pages used to serve as de facto command references:

ROOT:managing.adoc, ROOT:astra-streaming-cli.adoc, ROOT:administration.adoc

However, since the new command reference pages are programmatically generated, there isn't a good place to redirect them to (yet).
Once we have quickstarts for Astra DB, Astra Streaming, and Astra administration, we can move the page aliases.
Once we have quickstarts for Astra DB, Astra Streaming, and Astra administration, update the redirect rules for the historical pages (managing, astra-streaming-cli, administration).
////

Learn how to connect and run commands with the {product}.
Expand Down
Loading