Skip to content

Commit 39bbe0d

Browse files
author
Sreekanth Iyer (Ushta Te Consultancy Services)
committed
Improved Acrolinx Score
1 parent 105a218 commit 39bbe0d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/hdinsight-aks/flink/cosmos-db-for-apache-cassandra.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 04/02/2024
1010

1111
[!INCLUDE [feature-in-preview](../includes/feature-in-preview.md)]
1212

13-
This example uses [Apache Flink](../flink/flink-overview.md) to sink [HDInsight for Apache Kafka](/azure/hdinsight/kafka/apache-kafka-introduction) messages into [Azure Cosmos DB for Apache Cassandra](/azure/cosmos-db/cassandra/introduction)
13+
This example uses [Apache Flink](../flink/flink-overview.md) to sink [HDInsight for Apache Kafka](/azure/hdinsight/kafka/apache-kafka-introduction) messages into [Azure Cosmos DB for Apache Cassandra](/azure/cosmos-db/cassandra/introduction).
1414

1515
This example is prominent when Engineers prefer real-time aggregated data for analysis. With access to historical aggregated data, you can build machine learning (ML) models to build insights or actions. You can also ingest IoT data into Apache Flink to aggregate data in real-time and store it in Apache Cassandra.
1616

@@ -42,12 +42,12 @@ Get credentials uses it on Stream source code:
4242

4343
### Cloning repository of Azure Samples
4444

45-
Refer GitHub readme to download maven, clone this repository using `Azure-Samples/azure-cosmos-db-cassandra-java-getting-started.git` from
46-
[Azure Samples ](https://github.com/Azure-Samples/azure-cosmos-db-cassandra-java-getting-started)
45+
Refer GitHub readme to download maven, and clone this repository using `Azure-Samples/azure-cosmos-db-cassandra-java-getting-started.git` from
46+
[Azure Samples ](https://github.com/Azure-Samples/azure-cosmos-db-cassandra-java-getting-started).
4747

4848
### Updating maven project for Cassandra
4949

50-
Go to maven project folder **azure-cosmos-db-cassandra-java-getting-started-main** and update the changes required for this example
50+
Go to maven project folder **azure-cosmos-db-cassandra-java-getting-started-main** and update the changes required for this example.
5151

5252
**maven pom.xml**
5353
``` xml
@@ -429,7 +429,7 @@ public class CassandraDemo {
429429

430430
### Building the project
431431

432-
Run **mvn clean install** from azure-cosmos-db-cassandra-java-getting-started-main folder to build the project. This command generates cosmosdb-cassandra-examples.jar under target folder
432+
Run **mvn clean install** from azure-cosmos-db-cassandra-java-getting-started-main folder to build the project. This command generates cosmosdb-cassandra-examples.jar under target folder.
433433

434434
```
435435
root@flinkvm:/home/flinkvm/azure-cosmos-db-cassandra-java-getting-started-main/target# ll
@@ -464,7 +464,7 @@ bin/flink run -c com.azure.cosmosdb.cassandra.examples.UserProfile -j cosmosdb-c
464464

465465
## Sink Kafka Topics into Cosmos DB for Apache Cassandra
466466

467-
Run CassandraDemo class to sink Kafka topic into Cosmos DB for Apache Cassandra
467+
Run CassandraDemo class to sink Kafka topic into Cosmos DB for Apache Cassandra.
468468

469469
```
470470
bin/flink run -c com.azure.cosmosdb.cassandra.examples.CassandraDemo -j cosmosdb-cassandra-examples.jar
@@ -474,13 +474,13 @@ bin/flink run -c com.azure.cosmosdb.cassandra.examples.CassandraDemo -j cosmosdb
474474

475475
## Validate Apache Flink Job Submission
476476

477-
Check job on Flink Web UI on HDInsight on AKS Cluster
477+
Check job on Flink Web UI on HDInsight on AKS Cluster.
478478

479479
:::image type="content" source="./media/cosmos-db-for-apache-cassandra/check-output-on-flink-ui.png" alt-text="Screenshot showing how to check the job on HDInsight on AKS Flink UI." lightbox="./media/cosmos-db-for-apache-cassandra/check-output-on-flink-ui.png":::
480480

481481
## Producing Messages in Kafka
482482

483-
Produce message into Kafka topic
483+
Produce message into Kafka topic.
484484

485485
``` python
486486
sshuser@hn0-flinkd:~$ cat user.py
@@ -549,4 +549,4 @@ sshuser@hn0-flinkd:~$ python user.py | /usr/hdp/current/kafka-broker/bin/kafka-c
549549
* [Azure Cosmos DB for Apache Cassandra](../../cosmos-db/cassandra/introduction.md).
550550
* [Create a API for Cassandra account in Azure Cosmos DB](../../cosmos-db/cassandra/create-account-java.md)
551551
* [Azure Samples ](https://github.com/Azure-Samples/azure-cosmos-db-cassandra-java-getting-started)
552-
* Apache, Apache Kafka, Kafka, Apache Flink, Flink, Apache Cassandra, Cassandra and associated open source project names are [trademarks](../trademarks.md) of the [Apache Software Foundation](https://www.apache.org/) (ASF).
552+
* Apache, Apache Kafka, Kafka, Apache Flink, Flink, Apache Cassandra, Cassandra, and associated open source project names are [trademarks](../trademarks.md) of the [Apache Software Foundation](https://www.apache.org/) (ASF).

0 commit comments

Comments
 (0)