RTD docs for async use case 28/139728/4
authormpriyank <priyank.maheshwari@est.tech>
Thu, 19 Dec 2024 10:48:12 +0000 (10:48 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Thu, 19 Dec 2024 12:22:44 +0000 (12:22 +0000)
- Documented the suggestion to tune the kafka parameter for the case
  when client provides a non existent topic for the async batch usecase.

Issue-ID: CPS-2069
Change-Id: I93e1b3006c901b6b4fc3a61df16d3cb82e6c9906
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
docs/ncmp-data-operation.rst
docs/release-notes.rst

index 3352e03..f2f3a47 100644 (file)
@@ -21,6 +21,13 @@ For all data operations on cm handle(s), we have a post endpoint:
 
 - When asynchronous (with topic) operations are executed, a request id (UUID) will be returned.
 
+**Note.** The client topic is validated to ensure it adheres to Kafka's topic naming conventions. Additionally, if a client specifies a topic that does not exist, the request might be delayed. To enable a fail-fast mechanism, the max.block.ms parameter can be adjusted to define the maximum duration the request is allowed to block. The parameter is 60000ms by default but can be set to a lower value.
+
+.. code:: bash
+
+    spring.kafka.producer.properties.max.block.ms: <value_in_ms>
+
+
 Request Body
 ============
 
index d60c2c0..9c825e4 100644 (file)
@@ -38,7 +38,6 @@ Release Data
 Bug Fixes
 ---------
 
-
 Features
 --------