Skip to content

Commit e1c95a8

Browse files
committed
Better documentation
1 parent f5fadf9 commit e1c95a8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/rdhttp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ static void rd_http_ssl_configure(rd_kafka_t *rk, CURL *hreq_curl) {
276276
* otherwise return rd_false.
277277
*
278278
* @locality Any thread.
279+
* @locks None.
280+
* @locks_acquired None.
279281
*/
280282
static rd_bool_t rd_http_is_failure_temporary(int error_code) {
281283
switch (error_code) {

src/rdkafka_conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ static const struct rd_kafka_property rd_kafka_properties[] = {
12131213
"sasl.oauthbearer.metadata.authentication.type",
12141214
_RK_C_S2I,
12151215
_RK(sasl.oauthbearer.metadata_authentication.type),
1216-
"Type of metadata based authentication to use for OAUTHBEARER/OIDC "
1216+
"Type of metadata-based authentication to use for OAUTHBEARER/OIDC "
12171217
"`azure_imds` authenticates using the Azure IMDS endpoint. "
12181218
"Sets a default value for `sasl.oauthbearer.token.endpoint.url` if "
12191219
"missing. "

tests/0126-oauthbearer_oidc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ static rd_kafka_conf_t *oidc_configuration_metadata_authentication(
467467
return conf;
468468
}
469469

470+
/* Test metadata-based authentication cases against Trivup. */
470471
void do_test_produce_consumer_with_OIDC_metadata_authentication(
471472
rd_kafka_conf_t *conf) {
472473
rd_kafka_conf_t *metadata_authentication_conf;

0 commit comments

Comments
 (0)