Skip to content

Commit 747a1c1

Browse files
committed
Debug log when skipping api_versions request with pre-configured api_version
1 parent a5d4611 commit 747a1c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka/conn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ def _try_api_versions_check(self):
521521
if self.config['api_version'] is not None:
522522
self._api_version = self.config['api_version']
523523
self._api_versions = BROKER_API_VERSIONS[self._api_version]
524+
log.debug('%s: Using pre-configured api_version %s for ApiVersions', self, self._api_version)
524525
return True
525526
elif self._check_version_idx is None:
526527
request = ApiVersionsRequest[self._api_versions_idx]()

0 commit comments

Comments
 (0)