SiyaoIsHiding commented on code in PR #2037:
URL: 
https://github.com/apache/cassandra-java-driver/pull/2037#discussion_r2101375574


##########
core/src/main/resources/reference.conf:
##########
@@ -918,6 +918,15 @@ datastax-java-driver {
     }
   }
 
+  advanced.request-id{
+    generator{
+      # The component that generates a unique identifier for each CQL request.
+      class = DefaultRequestIdGenerator
+    }
+    # add the request id to the custom payload with the given key
+    # if empty, the request id will not be added to the custom payload
+    custom-payload-with-key = ""

Review Comment:
   The existing driver has a [built-in 
logic](https://github.com/apache/cassandra-java-driver/blob/c9facc3c36e7ba0b1d30fb9b10de69f879d34fb5/core/src/main/java/com/datastax/oss/driver/internal/core/cql/CqlRequestHandler.java#L142)
 to generate the log prefix, which is the same logic as the 
`DefaultRequestIdGenerator`. So your no.1 state is the same no.2 state, where 
the `DefaultRequestIdGenerator` is used.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to