Skip to content

Commit b803c10

Browse files
aimurphymendonk
andauthored
recreate pr 27 (#28)
* recreate pr * cleanup --------- Co-authored-by: Mendon Kissling <[email protected]>
1 parent dfac35a commit b803c10

File tree

1 file changed

+48
-34
lines changed

1 file changed

+48
-34
lines changed

docs-src/pulsar-sink-core/modules/ROOT/pages/cfgRefPulsarDseTable.adoc

Lines changed: 48 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,54 +23,68 @@ topic:
2323
----
2424

2525
[#topics]
26-
topics:: A comma separated list of all topics to which the DataStax Connector subscribes.
27-
+
28-
where:
29-
+
30-
* topic_name - Pulsar topic name.
31-
* keyspace_name - database keyspace where the table is located.
32-
* table_name - database table where data is written.
26+
=== topics
27+
A comma separated list of all topics to which the DataStax Connector subscribes.
28+
29+
* `topic_name` - Pulsar topic name.
30+
* `keyspace_name` - database keyspace where the table is located.
31+
* `table_name` - database table where data is written.
3332

3433
[#mapping]
35-
mapping::
34+
=== mapping
3635
Required, field-to-column mapping.
37-
See xref:ROOT:cfgPulsarMapTopicTable.adoc[].
36+
37+
For more, see xref:ROOT:cfgPulsarMapTopicTable.adoc[].
3838

3939
[#consistencyLevel]
40-
consistencyLevel:: Query consistency level.
41-
DSE settings are:
42-
+
43-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__all[ALL]
44-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__each_quorum[EACH QUORUM]
45-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__quorum[QUORUM]
46-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__local_quorum[LOCAL_QUORUM]
47-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__one[ONE]
48-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__two[TWO]
49-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__three[THREE]
50-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__local_one[LOCAL\_ONE] (default)
51-
- https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntConfigConsistency.html#dbIntConfigConsistency__any[ANY]
52-
+
53-
See https://docs.datastax.com/en/dse/6.8/dse-arch/datastax_enterprise/dbInternals/dbIntAboutDataConsistency.html[How are consistent read and write operations handled?]
54-
+
40+
=== consistencyLevel
41+
Query consistency level.
42+
5543
Default: `LOCAL_ONE`
5644

45+
DSE settings are:
46+
47+
* xref:dse:architecture:database-internals/configure-consistency.adoc[ALL]
48+
* xref:dse:architecture:database-internals/configure-consistency.adoc[EACH QUORUM]
49+
* xref:dse:architecture:database-internals/configure-consistency.adoc[QUORUM]
50+
* xref:dse:architecture:database-internals/configure-consistency.adoc[LOCAL_QUORUM]
51+
* xref:dse:architecture:database-internals/configure-consistency.adoc[ONE]
52+
* xref:dse:architecture:database-internals/configure-consistency.adoc[TWO]
53+
* xref:dse:architecture:database-internals/configure-consistency.adoc[THREE]
54+
* xref:dse:architecture:database-internals/configure-consistency.adoc[LOCAL_ONE]
55+
* xref:dse:architecture:database-internals/configure-consistency.adoc[ANY]
56+
57+
For more, see xref:dse:architecture:database-internals/about-data-consistency.adoc[]
58+
5759
[#nullToUnset]
58-
nullToUnset:: Whether to treat nulls in Pulsar as UNSET in DSE.
59-
DataStax recommends using the default to avoid creating unnecessary tombstones.
60-
+
60+
=== nullToUnset
61+
Whether to treat null values in Pulsar as UNSET in DSE.
62+
6163
Default: `true`
6264

65+
This parameter controls the handling of updates versus overrides.
66+
67+
When true (default), the DataStax Pulsar Connector treats null values as unset fields.
68+
It only updates fields that are _not_ null when a new record arrives.
69+
DataStax recommends using the default to avoid creating unnecessary tombstones.
70+
71+
If false, fields with null values are visible in the DSE target table.
72+
6373
[#ttl]
64-
ttl:: Time-to-live.
74+
=== ttl
75+
Time-to-live.
76+
77+
Default: `-1` (disabled)
78+
6579
Set to the number of seconds before the data is automatically deleted from the DSE table.
6680
When you configure `topic.<topic-name>.<keyspace-name>.<table-name>.ttl`, all rows for that topic table will have this same `TTL` value.
6781
DataStax Pulsar Connector appends `AND TTL <configured-ttl-value>` to the INSERT statement for those rows.
68-
+
69-
Default: `-1` (disabled)
7082

7183
[#deletesEnabled]
72-
deletesEnabled:: When enabled, treat records that after mapping would result in only non-null values for primary key columns as deletes, rather than inserting/updating nulls for all regular columns.
73-
+
74-
NOTE: Only triggers if the setting is enabled and the mapping specification contains all DSE table columns.
75-
+
84+
=== deletesEnabled
85+
7686
Default: `true`
87+
88+
When enabled, treat records that after mapping would result in only non-null values for primary key columns as deletes, rather than inserting/updating nulls for all regular columns.
89+
90+
Only triggers if the setting is enabled and the mapping specification contains all DSE table columns.

0 commit comments

Comments
 (0)