Skip to content

Commit a6d9d91

Browse files
Sample readme updates (#135)
* Sample readme updates Signed-off-by: Anders Swanson <[email protected]>
1 parent 0d9188c commit a6d9d91

File tree

12 files changed

+40
-40
lines changed

12 files changed

+40
-40
lines changed

database/spring-cloud-stream-binder-oracle-txeventq/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [TxEventQ](https://www.oracle.com/database/advanced-queuing/) support for Spring Cloud Stream
1+
# [Oracle Database Transactional Event Queues](https://www.oracle.com/database/advanced-queuing/) support for Spring Cloud Stream
22

33
This version of the binder supports Spring Boot 3+/Spring framework 6+.
44

database/spring-cloud-stream-binder-oracle-txeventq/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</parent>
1515

1616
<name>spring-cloud-stream-binder-oracle-txeventq</name>
17-
<description>Spring Cloud Stream Binder for Oracle TxEventQ based on JMS</description>
17+
<description>Spring Cloud Stream Binder for Oracle Database Transactional Event Queues based on JMS</description>
1818

1919
<organization>
2020
<name>Oracle America, Inc.</name>

database/spring-cloud-stream-binder-oracle-txeventq/spring-cloud-stream-binder-txeventq-sample/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Spring Cloud Stream Binder TxEventQ Sample
1+
# Spring Cloud Stream Binder for Oracle Database Transactional Event Queues Sample
22

3-
This sample application demonstrates how to use the Spring Cloud Stream Binder for Oracle TxEventQ in a simple Spring Boot Application.
3+
This sample application demonstrates how to use the Spring Cloud Stream Binder for Oracle Database Transactional Event Queues in a simple Spring Boot Application.
44

55
Spring Cloud Stream exposes a [functional messaging API](https://docs.spring.io/spring-cloud-stream/reference/spring-cloud-stream/producing-and-consuming-messages.html) for producing and consuming messages. In this sample we implement three functional interfaces to produce a series of words, capitalize them, and output them.
66

@@ -22,7 +22,7 @@ To run the tests, use the following command:
2222
mvn test
2323
```
2424

25-
As the test runs, you should see the following output, indicating messages are being processed by the TxEventQ stream binder:
25+
As the test runs, you should see the following output, indicating messages are being processed by the Oracle Database Transactional Event Queues stream binder:
2626

2727
```
2828
Consumed: SPRING

database/spring-cloud-stream-binder-oracle-txeventq/spring-cloud-stream-binder-txeventq-sample/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<packaging>jar</packaging>
1010

1111
<name>spring-cloud-stream-binder-txeventq-sample</name>
12-
<description>Spring Cloud Stream Binder for Oracle TxEventQ Sample Application</description>
12+
<description>Spring Cloud Stream Binder for Oracle Database Transactional Event Queues Sample Application</description>
1313

1414
<organization>
1515
<name>Oracle America, Inc.</name>

database/starters/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Oracle Database Spring Starters implements Spring Boot Starters to facilitate th
44

55
The following starters are provided:
66

7-
| Starter | Description |
8-
|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
9-
| [Oracle Spring Boot Starter UCP](oracle-spring-boot-starter-ucp) | Autoconfigure UCP for Oracle Database, over the default Hikari Connection Pool. |
10-
| [Oracle Spring Boot Starter AQJMS](oracle-spring-boot-starter-aqjms) | Autoconfigure Oracle Database AQJMS Connections. |
11-
| [Oracle Spring Boot Starter JSON Collections](oracle-spring-boot-starter-json-collections) | Autoconfiguration and utilities for JSON with Oracle Database |
12-
| [Oracle Spring Boot Starter Okafka](oracle-spring-boot-starter-okafka) | Autoconfiguration for Kafka Java Client for Oracle Transactional Event Queues |
7+
| Starter | Description |
8+
|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
9+
| [Oracle Spring Boot Starter UCP](oracle-spring-boot-starter-ucp) | Autoconfigure UCP for Oracle Database, over the default Hikari Connection Pool. |
10+
| [Oracle Spring Boot Starter AQJMS](oracle-spring-boot-starter-aqjms) | Autoconfigure Oracle Database AQJMS Connections. |
11+
| [Oracle Spring Boot Starter JSON Collections](oracle-spring-boot-starter-json-collections) | Autoconfiguration and utilities for JSON with Oracle Database |
12+
| [Oracle Spring Boot Starter for the Kafka Java Client for Oracle Database Transactional Event Queues](oracle-spring-boot-starter-okafka) | Autoconfiguration for Kafka Java Client for Oracle Transactional Event Queues |
1313

1414

database/starters/oracle-spring-boot-starter-okafka/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<artifactId>oracle-spring-boot-starter-okafka</artifactId>
1616
<version>24.2.0</version>
1717

18-
<name>Oracle Spring Boot Starter - OKafka</name>
19-
<description>Spring Boot Starter for Oracle Database Kafka API</description>
18+
<name>Oracle Spring Boot Starter - Kafka Java Client for Oracle Database Transactional Event Queues</name>
19+
<description>Spring Boot Starter for the Kafka Java Client for Oracle Database Transactional Event Queues</description>
2020
<url>https://github.com/oracle/spring-cloud-oracle/tree/main/database/starters/oracle-spring-boot-starter-okafka</url>
2121

2222
<organization>

database/starters/oracle-spring-boot-starter-samples/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ The Oracle UCP with JPA sample application demonstrates how to use the Oracle Sp
1010

1111
The JSON Relational Duality Views sample application demonstrates how to use the Oracle Spring Boot Starter JSON Collections with [JSON Relational Duality Views](https://docs.oracle.com/en/database/oracle/oracle-database/23/jsnvu/overview-json-relational-duality-views.html). JSON Relational Duality Views layer the advantages of JSON document-style database over existing relational data structures — Powerful JSON views with full CRUD capabilities can be created on relational database schemas, nesting related data into a single document with unified access.
1212

13-
### [OKafka Sample](./oracle-spring-boot-starter-okafka/README.md)
13+
### [Kafka Java Client for Oracle Database Transactional Event Queues Sample](./oracle-spring-boot-starter-okafka/README.md)
1414

15-
This sample application demonstrates how to use the Oracle Spring Boot Starter OKafka with the [Kafka Java Client for Oracle Transactional Event Queues](https://github.com/oracle/okafka)
15+
This sample application demonstrates how to use the Oracle Spring Boot Starter for the [Kafka Java Client for Oracle Database Transactional Event Queues](https://github.com/oracle/okafka)
1616

17-
Using an in-database message broker like TxEventQ eliminates the need for external message brokers, reduces overall network traffic, simplifying your overall application architecture — and the OKafka library enables developers to create applications for TxEventQ using familiar Kafka APIs for messaging.
17+
Using an in-database message broker like Oracle Database Transactional Event Queues eliminates the need for external message brokers, reduces overall network traffic, simplifying your overall application architecture — and the Kafka Java Client for Oracle Database Transactional Event Queues library enables developers to create applications for Oracle Database Transactional Event Queues using familiar Kafka APIs for messaging.

database/starters/oracle-spring-boot-starter-samples/oracle-spring-boot-sample-json-events/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Oracle Spring Boot Sample for JSON Events and OKafka
1+
# Oracle Spring Boot Sample for JSON Events and the Kafka Java Client for Oracle Database Transactional Event Queues
22

3-
This sample application demonstrates how to use the Oracle Spring Boot Starter for OKafka, and the Oracle Spring Starter for JSON Collections with [JSON Relational Duality Views](https://docs.oracle.com/en/database/oracle/oracle-database/23/jsnvu/overview-json-relational-duality-views.html) and [Transactional Event Queues](https://www.oracle.com/database/advanced-queuing/).
3+
This sample application demonstrates how to use the Oracle Spring Boot Starter for Kafka Java Clients with Oracle Database Transactional Event Queues and the Oracle Spring Starter for JSON Collections with [JSON Relational Duality Views](https://docs.oracle.com/en/database/oracle/oracle-database/23/jsnvu/overview-json-relational-duality-views.html) and [Transactional Event Queues](https://www.oracle.com/database/advanced-queuing/).
44

5-
The same application demonstrates a JSON document ingestion workflow where weather station sensor data is sent to a backend application, using OKafka Producer, Consumer, and JSON Relational Duality Views:
5+
The ampld application demonstrates a JSON document ingestion workflow where weather station sensor data is sent to a backend application, using a Producer, Consumer, and JSON Relational Duality Views:
66

77
1. Raw sensor data is sent to a REST endpoint.
8-
2. The raw sensor data is parsed as a POJO and produced to an OKafka queue in serialized JSONB format.
9-
3. The OKafka consumer receives the sensor POJO, enriching and saving the POJO to the database as a JSON Relational Duality View.
8+
2. The raw sensor data is parsed as a POJO and produced to an Oracle Database Transactional Event Queues topic in serialized JSONB format.
9+
3. The Oracle Database Transactional Event Queues consumer receives the sensor POJO, enriching and saving the POJO to the database as a JSON Relational Duality View.
1010
4. After consumption, enriched sensor data can be queried from the database by their weather station ID.
1111

1212
## Run the sample application
@@ -19,11 +19,11 @@ To run application test, run the following command:
1919
mvn test
2020
```
2121

22-
The test starts the OKafka sensor data consumer, and sends a series of raw weather station events to the producer. The test verifies that the events have been processed and saved to the database, available in JSON Relational Duality View form.
22+
The test starts a sensor data consumer, and sends a series of raw weather station events to the producer. The test verifies that the events have been processed and saved to the database, available in JSON Relational Duality View form.
2323

2424
## Configure your project to use Oracle JSON Relational Duality Views
2525

26-
To use OKafka and Oracle JSON Relational Duality Views from your Spring Boot application, add the following Maven dependencies to your project:
26+
To use Kafka Java Client for Oracle Database Transactional Event Queues and Oracle JSON Relational Duality Views from your Spring Boot application, add the following Maven dependencies to your project:
2727

2828
```xml
2929
<dependency>

database/starters/oracle-spring-boot-starter-samples/oracle-spring-boot-sample-json-events/src/test/java/com/oracle/database/spring/jsonevents/JSONEventsSampleTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class JSONEventsSampleTest {
4343
*/
4444
@DynamicPropertySource
4545
static void properties(DynamicPropertyRegistry registry) {
46-
// Configure for OKafka
46+
// Configure the Kafka Java Client for Oracle TxEventQ
4747
String bootstrapServers = "localhost:" + oracleContainer.getOraclePort();
4848
String propsPath = new File("src/main/resources").getAbsolutePath();
4949
registry.add("app.bootstrapServers", () -> bootstrapServers);
@@ -58,8 +58,8 @@ static void properties(DynamicPropertyRegistry registry) {
5858
public static void setUp() throws Exception {
5959
// Run the okafka.sql grants as sysdba on the database test container
6060
oracleContainer.start();
61-
oracleContainer.copyFileToContainer(MountableFile.forClasspathResource("okafka.sql"), "/tmp/okafka.sql");
62-
oracleContainer.execInContainer("sqlplus", "sys / as sysdba", "@/tmp/okafka.sql");
61+
oracleContainer.copyFileToContainer(MountableFile.forClasspathResource("txeventq.sql"), "/tmp/txeventq.sql");
62+
oracleContainer.execInContainer("sqlplus", "sys / as sysdba", "@/tmp/txeventq.sql");
6363
}
6464

6565
@Autowired

database/starters/oracle-spring-boot-starter-samples/oracle-spring-boot-sample-okafka/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# Oracle Spring Boot Sample for OKafka
1+
# Oracle Spring Boot Sample for the Kafka Java Client for Oracle Database Transactional Event Queues
22

3-
With Oracle Database 23ai, powerful Kafka APIs are easily used to read and write data backed by [Transactional Event Queues (TxEventQ)](https://docs.oracle.com/en/database/oracle/oracle-database/21/adque/aq-introduction.html).
3+
With Oracle Database 23ai, powerful Kafka APIs are easily used to read and write data backed by [Oracle Database Transactional Event Queues](https://docs.oracle.com/en/database/oracle/oracle-database/21/adque/aq-introduction.html).
44

5-
If you’re unfamiliar with TxEventQ, it’s a robust, real-time message broker that runs within Oracle Database, designed for high throughput — TxEventQ can handle approximately [100 billion messages per day](https://www.oracle.com/database/advanced-queuing/) on an 8-node Oracle RAC cluster.
5+
If you’re unfamiliar with Oracle Database Transactional Event Queues, it’s a robust, real-time message broker that runs within Oracle Database, designed for high throughput — Oracle Database Transactional Event Queues can handle approximately [100 billion messages per day](https://www.oracle.com/database/advanced-queuing/) on an 8-node Oracle RAC cluster.
66

7-
This sample application demonstrates how to use the Oracle Spring Boot Starter OKafka with the [Kafka Java Client for Oracle Transactional Event Queues](https://github.com/oracle/okafka)
7+
This sample application demonstrates how to use the Oracle Spring Boot Starter for the [Kafka Java Client for Oracle Database Transactional Event Queues](https://github.com/oracle/okafka)
88

9-
The Spring Boot OKafka sample application includes the following components to demonstrate application development using Kafka APIs for Oracle Transactional Event Queues:
9+
The Spring Boot sample application includes the following components to demonstrate application development using Kafka APIs for Oracle Transactional Event Queues:
1010

11-
- Sample OKafka Producers and Consumers
12-
- Connection properties for OKafka with Oracle Database
13-
- Topic management using OKafka admin client
14-
- Spring Boot configuration for OKafka
15-
- A comprehensive test using Spring Boot that produces and consumes data from Transactional Event Queues using OKafka
11+
- Sample Oracle Database Transactional Event Queues Producers and Consumers
12+
- Connection properties for Oracle Database Transactional Event Queues
13+
- Topic management using the Oracle Database Transactional Event Queues admin client
14+
- Spring Boot configuration for the Kafka Java Client for Oracle Database Transactional Event Queues
15+
- A comprehensive test using Spring Boot that produces and consumes data from Transactional Event Queues using the Kafka Java Client for Oracle Database Transactional Event Queues
1616

1717
## Run the sample application
1818

@@ -24,9 +24,9 @@ To run the test application, run the following command:
2424
mvn test
2525
```
2626

27-
## Configure your project to use OKafka
27+
## Configure your project to use the Kafka Java Client for Oracle Database Transactional Event Queues
2828

29-
To use OKafka from your Spring Boot application, add the following Maven dependency to your project:
29+
To use the Kafka Java Client for Oracle Database Transactional Event Queues from your Spring Boot application, add the following Maven dependency to your project:
3030

3131
```xml
3232
<dependency>

database/starters/oracle-spring-boot-starter-samples/oracle-spring-boot-sample-okafka/src/main/java/com/oracle/database/spring/okafka/OKafkaComponent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public OKafkaComponent(@Qualifier("applicationTaskExecutor") AsyncTaskExecutor t
3838

3939
@PostConstruct
4040
public void init() {
41-
// Create a new OKafka topic
41+
// Create a new TxEventQ topic
4242
NewTopic topic = new NewTopic(TOPIC_NAME, 1, (short) 1);
4343
OKafkaUtil.createTopicIfNotExists(kafkaProperties, topic);
4444

0 commit comments

Comments
 (0)