code: def test_describe_configs_broker_resource_returns_configs(
      kafka_admin_client,
  ):
      """Tests that describe config returns configs for broker"""
      broker_id = kafka_admin_client._client.cluster._brokers[0].nodeId
      configs = kafka_admin_client.describe_configs(
          [ConfigResource(ConfigResourceType.BROKER, broker_id)]
      )
  
      assert len(configs) == 1
      assert configs[0].resources[0][2] == ConfigResourceType.BROKER
      assert configs[0].resources[0][3] == str(broker_id)
      assert len(configs[0].resources[0][4]) > 1
  
file_path: kafka-python/test/test_admin_integration.py
imports: import pytest
  from logging import info
  from test.testutil import env_kafka_version, random_string
  from threading import Event, Thread
  from time import time, sleep
  from kafka.admin import ACLFilter, ACLOperation, ACLPermissionType, ResourcePattern, ResourceType, ACL, ConfigResource, ConfigResourceType
  from kafka.errors import NoError, GroupCoordinatorNotAvailableError, NonEmptyGroupError, GroupIdNotFoundError
label_desc: Use image node_id 2 for calling a global function with example usage: test_describe_configs_broker_resource_returns_configs(kafka_admin_client) without return types