diff --git a/modules/ROOT/partials/subscription-setup-project.adoc b/modules/ROOT/partials/subscription-setup-project.adoc index d8fd9b0..3a74af9 100644 --- a/modules/ROOT/partials/subscription-setup-project.adoc +++ b/modules/ROOT/partials/subscription-setup-project.adoc @@ -77,7 +77,7 @@ Create the `resources` subdirectory if it doesn't already exist. + ./src/main/resources/application.properties -[source,conf,subs="+quotes"] +[source,properties,subs="+quotes"] ---- # --------------------------------------- # Configuration of your Astra Streaming tenant diff --git a/modules/developing/pages/gpt-schema-translator.adoc b/modules/developing/pages/gpt-schema-translator.adoc index 0bef475..25bf719 100644 --- a/modules/developing/pages/gpt-schema-translator.adoc +++ b/modules/developing/pages/gpt-schema-translator.adoc @@ -113,7 +113,7 @@ a| ---- a| -[source,plain] +[source,console] ---- id=key, file1=value.file1, file2=value.file2, file3=value.file3 ---- @@ -133,7 +133,7 @@ This example demonstrates how you can generates schema mapping in real time. . The xref:connectors:sources/data-generator.adoc[Data Generator source connector] generates data for a {pulsar-short} topic with an AVRO schema. + .AVRO schema example -[source,avro] +[source,json] ---- "pulsar_topic_schema": { "person": { @@ -410,7 +410,7 @@ image::developing:create-schema-mapping.png[Schema mapping,320,240] + The {gpt-schema-translator} generates an AVRO-to-CQL schema mapping while messages are processed. + -[source,plain] +[source,console] ---- passportnumber=value.passportNumber, age=value.age, firstname=value.firstName, lastname=value.lastName ---- @@ -461,7 +461,7 @@ For example, assume you have the following {cass-short} table schema: The schema translator would generate the following {pulsar-short} JSON schema mapping based on the given {cass-short} table schema: -[source,plain] +[source,console] ---- passportnumber=value.passportnumber, age=value.age, firstname=value.firstname, lastname=value.lastname ---- diff --git a/modules/operations/pages/monitoring/index.adoc b/modules/operations/pages/monitoring/index.adoc index e91af28..264b859 100644 --- a/modules/operations/pages/monitoring/index.adoc +++ b/modules/operations/pages/monitoring/index.adoc @@ -284,7 +284,7 @@ In {pulsar-short}, end user applications only deal with messages at the parent t * Exclude reported metrics that are associated with {product}'s system namespaces and topics, which are usually prefixed by two underscores, such as: + -[source,plain] +[source,console] ---- __kafka __transaction_producer_state