diff --git a/pages/apim/3.x/v4/event-native-tutorials-kafka-advanced-http.adoc b/pages/apim/3.x/v4/event-native-tutorials-kafka-advanced-http.adoc index 7eaf66501..6904b1ba2 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-kafka-advanced-http.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-kafka-advanced-http.adoc @@ -39,7 +39,7 @@ For more information about installing plugins, see link:{{'/apim/3.x/apim_devgui 1. In the Tutorials Postman Collection, open the `Kafka Advanced, HTTP, and Confluent Cloud` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. + Under `endpointGroups` you can see that we are creating one `kafka-advanced` endpoint, which uses the bootstrap server specified by the `kafkabootstrap` variable. The `security` object contains the authentication information to allow the gateway to connect to Kafka. In this case we are using SASL. + @@ -67,7 +67,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Kafka, HTTP, and Confluent Cloud", "apiVersion": "1.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675332450547, "updatedAt": 1675332450547, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-kafka-http.adoc b/pages/apim/3.x/v4/event-native-tutorials-kafka-http.adoc index 34470a2df..635064995 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-kafka-http.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-kafka-http.adoc @@ -17,7 +17,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `Kafka and HTTP` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. Under `endpointGroups` you can see that we are creating one `kafka` endpoint, which uses a bootstrap server called `kafka` on port `9092`. The `topics` array contains just one topic, `demo`. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. Under `endpointGroups` you can see that we are creating one `kafka` endpoint, which uses a bootstrap server called `kafka` on port `9092`. The `topics` array contains just one topic, `demo`. + If you look under `endpoints` you will see the following code. + @@ -46,7 +46,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Kafka and HTTP", "apiVersion": "1.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675332450547, "updatedAt": 1675332450547, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-kafka-sse.adoc b/pages/apim/3.x/v4/event-native-tutorials-kafka-sse.adoc index 12495e96e..2cb9cbb91 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-kafka-sse.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-kafka-sse.adoc @@ -17,7 +17,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `Kafka and SSE` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `sse` entrypoint, and an `http-post` entrypoint. In this tutorial the `http-post` entrypoint is only used for publishing data to Kafka. For a full tutorial on Kafka and HTTP, see link:{{ '/apim/3.x/event_native_tutorials_kafka_websockets.html' | relative_url }}[Kafka and HTTP]. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, an `sse` entrypoint, and an `http-post` entrypoint. In this tutorial the `http-post` entrypoint is only used for publishing data to Kafka. For a full tutorial on Kafka and HTTP, see link:{{ '/apim/3.x/event_native_tutorials_kafka_websockets.html' | relative_url }}[Kafka and HTTP]. + Under `endpointGroups` you can see that we are creating one `kafka` endpoint, which uses a bootstrap server called `kafka` on port `9092`. The `topics` array contains just one topic, `demo`. + @@ -37,7 +37,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Kafka and SSE", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675699730275, "updatedAt": 1675699730275, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-kafka-webhooks.adoc b/pages/apim/3.x/v4/event-native-tutorials-kafka-webhooks.adoc index 527300a79..0c7e78a5b 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-kafka-webhooks.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-kafka-webhooks.adoc @@ -37,7 +37,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Kafka and Webhooks", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675347679105, "updatedAt": 1675347679105, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-kafka-websockets.adoc b/pages/apim/3.x/v4/event-native-tutorials-kafka-websockets.adoc index 163f8f23f..334fe0b30 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-kafka-websockets.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-kafka-websockets.adoc @@ -18,7 +18,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `Kafka and Websockets` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, a `websocket` entrypoint, and an `http-post` entrypoint. In this tutorial the `http-post` entrypoint is only used for publishing data to Kafka. For a full tutorial on Kafka and HTTP, see link:{{ '/apim/3.x/event_native_tutorials_kafka_websockets.html' | relative_url }}[Kafka and HTTP]. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `listeners` you can see that we are creating two entrypoints, a `websocket` entrypoint, and an `http-post` entrypoint. In this tutorial the `http-post` entrypoint is only used for publishing data to Kafka. For a full tutorial on Kafka and HTTP, see link:{{ '/apim/3.x/event_native_tutorials_kafka_websockets.html' | relative_url }}[Kafka and HTTP]. + Under `endpointGroups` you can see that we are creating one `kafka` endpoint, which uses a bootstrap server called `kafka` on port `9092`. The `topics` array contains just one topic, `demo`. + @@ -38,7 +38,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Demo of Kafka and Websockets", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675674428097, "updatedAt": 1675674428097, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-mqtt-http.adoc b/pages/apim/3.x/v4/event-native-tutorials-mqtt-http.adoc index c2e603ddd..65b9a9f2b 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-mqtt-http.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-mqtt-http.adoc @@ -17,7 +17,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `MQTT and HTTP` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating two entrypoints, an `http-post` entrypoint and an `http-get` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. + If you look under `endpoints` you will see the following code. + @@ -46,7 +46,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Demo of HTTP Post + MQTT", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1674818407231, "updatedAt": 1674818407231, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-mqtt-sse.adoc b/pages/apim/3.x/v4/event-native-tutorials-mqtt-sse.adoc index 0c6876810..33ce7b0a3 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-mqtt-sse.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-mqtt-sse.adoc @@ -17,7 +17,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `MQTT and SSE` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating one entrypoint, as `sse` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating one entrypoint, as `sse` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. + [TIP] ==== @@ -35,7 +35,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "MQTT and SSE", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675694466958, "updatedAt": 1675694466958, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-mqtt-webhooks.adoc b/pages/apim/3.x/v4/event-native-tutorials-mqtt-webhooks.adoc index 8d7dc747b..6d7dd215f 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-mqtt-webhooks.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-mqtt-webhooks.adoc @@ -35,7 +35,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Demo of Webhook + MQTT - Subscription Filtering", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675090250286, "updatedAt": 1675090250286, ---- diff --git a/pages/apim/3.x/v4/event-native-tutorials-mqtt-websockets.adoc b/pages/apim/3.x/v4/event-native-tutorials-mqtt-websockets.adoc index d14fb4d22..f89819f78 100644 --- a/pages/apim/3.x/v4/event-native-tutorials-mqtt-websockets.adoc +++ b/pages/apim/3.x/v4/event-native-tutorials-mqtt-websockets.adoc @@ -18,7 +18,7 @@ Before running this tutorial, you must have: 1. In the Tutorials Postman Collection, open the `MQTT and Websockets` folder. -2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `async`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating one entrypoint, a `websocket` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. +2. Open the `Create the API` request and look at the request body. Note that the `definitionVersion` is `4.0.0` and the `type` is `message`. This means we are using the Gravitee 4.0.0 OpenAPI specification to create an asynchronous API. If you look under `entrypoints` you can see that we are creating one entrypoint, a `websocket` entrypoint. Under `endpointGroups` you can see that we are creating one `mqtt5` endpoint, which connects to the host `hivemq` on port `1883`. + [TIP] ==== @@ -36,7 +36,7 @@ For full details about the structure of the body, see link:{{'/apim/3.x/manageme "name": "Demo of Websocket + MQTT", "apiVersion": "1.0.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "createdAt": 1675164433265, "updatedAt": 1675164433265, ---- diff --git a/pages/apim/3.x/v4/v4-event-native-apim-user-guide.adoc b/pages/apim/3.x/v4/v4-event-native-apim-user-guide.adoc index 13989bf3e..6a448c47b 100644 --- a/pages/apim/3.x/v4/v4-event-native-apim-user-guide.adoc +++ b/pages/apim/3.x/v4/v4-event-native-apim-user-guide.adoc @@ -296,7 +296,7 @@ For example, to create an HTTP POST entrypoint that connects to a Kafka endpoint "name": "Data Ingestion to Kafka", "apiVersion": "1.0", "definitionVersion": "4.0.0", - "type": "async", + "type": "message", "description": "Data Ingestion to Kafka", "listeners": [ {