Extension [ <persistent> extension #124 simple_kafka_client version 0.1.4 ] {

  - Constants [178] {
    Constant [ int RD_KAFKA_OFFSET_BEGINNING ] { -2 }
    Constant [ int RD_KAFKA_OFFSET_END ] { -1 }
    Constant [ int RD_KAFKA_OFFSET_STORED ] { -1000 }
    Constant [ int RD_KAFKA_PARTITION_UA ] { -1 }
    Constant [ int RD_KAFKA_MSG_F_BLOCK ] { 4 }
    Constant [ int RD_KAFKA_PURGE_F_QUEUE ] { 1 }
    Constant [ int RD_KAFKA_PURGE_F_INFLIGHT ] { 2 }
    Constant [ int RD_KAFKA_PURGE_F_NON_BLOCKING ] { 4 }
    Constant [ int RD_KAFKA_VERSION ] { 33685759 }
    Constant [ int RD_KAFKA_BUILD_VERSION ] { 33554687 }
    Constant [ int RD_KAFKA_RESP_ERR__BEGIN ] { -200 }
    Constant [ int RD_KAFKA_RESP_ERR__BAD_MSG ] { -199 }
    Constant [ int RD_KAFKA_RESP_ERR__BAD_COMPRESSION ] { -198 }
    Constant [ int RD_KAFKA_RESP_ERR__DESTROY ] { -197 }
    Constant [ int RD_KAFKA_RESP_ERR__FAIL ] { -196 }
    Constant [ int RD_KAFKA_RESP_ERR__TRANSPORT ] { -195 }
    Constant [ int RD_KAFKA_RESP_ERR__CRIT_SYS_RESOURCE ] { -194 }
    Constant [ int RD_KAFKA_RESP_ERR__RESOLVE ] { -193 }
    Constant [ int RD_KAFKA_RESP_ERR__MSG_TIMED_OUT ] { -192 }
    Constant [ int RD_KAFKA_RESP_ERR__PARTITION_EOF ] { -191 }
    Constant [ int RD_KAFKA_RESP_ERR__UNKNOWN_PARTITION ] { -190 }
    Constant [ int RD_KAFKA_RESP_ERR__FS ] { -189 }
    Constant [ int RD_KAFKA_RESP_ERR__UNKNOWN_TOPIC ] { -188 }
    Constant [ int RD_KAFKA_RESP_ERR__ALL_BROKERS_DOWN ] { -187 }
    Constant [ int RD_KAFKA_RESP_ERR__INVALID_ARG ] { -186 }
    Constant [ int RD_KAFKA_RESP_ERR__TIMED_OUT ] { -185 }
    Constant [ int RD_KAFKA_RESP_ERR__QUEUE_FULL ] { -184 }
    Constant [ int RD_KAFKA_RESP_ERR__ISR_INSUFF ] { -183 }
    Constant [ int RD_KAFKA_RESP_ERR__NODE_UPDATE ] { -182 }
    Constant [ int RD_KAFKA_RESP_ERR__SSL ] { -181 }
    Constant [ int RD_KAFKA_RESP_ERR__WAIT_COORD ] { -180 }
    Constant [ int RD_KAFKA_RESP_ERR__UNKNOWN_GROUP ] { -179 }
    Constant [ int RD_KAFKA_RESP_ERR__IN_PROGRESS ] { -178 }
    Constant [ int RD_KAFKA_RESP_ERR__PREV_IN_PROGRESS ] { -177 }
    Constant [ int RD_KAFKA_RESP_ERR__EXISTING_SUBSCRIPTION ] { -176 }
    Constant [ int RD_KAFKA_RESP_ERR__ASSIGN_PARTITIONS ] { -175 }
    Constant [ int RD_KAFKA_RESP_ERR__REVOKE_PARTITIONS ] { -174 }
    Constant [ int RD_KAFKA_RESP_ERR__CONFLICT ] { -173 }
    Constant [ int RD_KAFKA_RESP_ERR__STATE ] { -172 }
    Constant [ int RD_KAFKA_RESP_ERR__UNKNOWN_PROTOCOL ] { -171 }
    Constant [ int RD_KAFKA_RESP_ERR__NOT_IMPLEMENTED ] { -170 }
    Constant [ int RD_KAFKA_RESP_ERR__AUTHENTICATION ] { -169 }
    Constant [ int RD_KAFKA_RESP_ERR__NO_OFFSET ] { -168 }
    Constant [ int RD_KAFKA_RESP_ERR__OUTDATED ] { -167 }
    Constant [ int RD_KAFKA_RESP_ERR__TIMED_OUT_QUEUE ] { -166 }
    Constant [ int RD_KAFKA_RESP_ERR__UNSUPPORTED_FEATURE ] { -165 }
    Constant [ int RD_KAFKA_RESP_ERR__WAIT_CACHE ] { -164 }
    Constant [ int RD_KAFKA_RESP_ERR__INTR ] { -163 }
    Constant [ int RD_KAFKA_RESP_ERR__KEY_SERIALIZATION ] { -162 }
    Constant [ int RD_KAFKA_RESP_ERR__VALUE_SERIALIZATION ] { -161 }
    Constant [ int RD_KAFKA_RESP_ERR__KEY_DESERIALIZATION ] { -160 }
    Constant [ int RD_KAFKA_RESP_ERR__VALUE_DESERIALIZATION ] { -159 }
    Constant [ int RD_KAFKA_RESP_ERR__PARTIAL ] { -158 }
    Constant [ int RD_KAFKA_RESP_ERR__READ_ONLY ] { -157 }
    Constant [ int RD_KAFKA_RESP_ERR__NOENT ] { -156 }
    Constant [ int RD_KAFKA_RESP_ERR__UNDERFLOW ] { -155 }
    Constant [ int RD_KAFKA_RESP_ERR__INVALID_TYPE ] { -154 }
    Constant [ int RD_KAFKA_RESP_ERR__RETRY ] { -153 }
    Constant [ int RD_KAFKA_RESP_ERR__PURGE_QUEUE ] { -152 }
    Constant [ int RD_KAFKA_RESP_ERR__PURGE_INFLIGHT ] { -151 }
    Constant [ int RD_KAFKA_RESP_ERR__FATAL ] { -150 }
    Constant [ int RD_KAFKA_RESP_ERR__INCONSISTENT ] { -149 }
    Constant [ int RD_KAFKA_RESP_ERR__GAPLESS_GUARANTEE ] { -148 }
    Constant [ int RD_KAFKA_RESP_ERR__MAX_POLL_EXCEEDED ] { -147 }
    Constant [ int RD_KAFKA_RESP_ERR__UNKNOWN_BROKER ] { -146 }
    Constant [ int RD_KAFKA_RESP_ERR__NOT_CONFIGURED ] { -145 }
    Constant [ int RD_KAFKA_RESP_ERR__FENCED ] { -144 }
    Constant [ int RD_KAFKA_RESP_ERR__APPLICATION ] { -143 }
    Constant [ int RD_KAFKA_RESP_ERR__ASSIGNMENT_LOST ] { -142 }
    Constant [ int RD_KAFKA_RESP_ERR__NOOP ] { -141 }
    Constant [ int RD_KAFKA_RESP_ERR__AUTO_OFFSET_RESET ] { -140 }
    Constant [ int RD_KAFKA_RESP_ERR__LOG_TRUNCATION ] { -139 }
    Constant [ int RD_KAFKA_RESP_ERR__END ] { -100 }
    Constant [ int RD_KAFKA_RESP_ERR_UNKNOWN ] { -1 }
    Constant [ int RD_KAFKA_RESP_ERR_NO_ERROR ] { 0 }
    Constant [ int RD_KAFKA_RESP_ERR_OFFSET_OUT_OF_RANGE ] { 1 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_MSG ] { 2 }
    Constant [ int RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART ] { 3 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_MSG_SIZE ] { 4 }
    Constant [ int RD_KAFKA_RESP_ERR_LEADER_NOT_AVAILABLE ] { 5 }
    Constant [ int RD_KAFKA_RESP_ERR_NOT_LEADER_FOR_PARTITION ] { 6 }
    Constant [ int RD_KAFKA_RESP_ERR_REQUEST_TIMED_OUT ] { 7 }
    Constant [ int RD_KAFKA_RESP_ERR_BROKER_NOT_AVAILABLE ] { 8 }
    Constant [ int RD_KAFKA_RESP_ERR_REPLICA_NOT_AVAILABLE ] { 9 }
    Constant [ int RD_KAFKA_RESP_ERR_MSG_SIZE_TOO_LARGE ] { 10 }
    Constant [ int RD_KAFKA_RESP_ERR_STALE_CTRL_EPOCH ] { 11 }
    Constant [ int RD_KAFKA_RESP_ERR_OFFSET_METADATA_TOO_LARGE ] { 12 }
    Constant [ int RD_KAFKA_RESP_ERR_NETWORK_EXCEPTION ] { 13 }
    Constant [ int RD_KAFKA_RESP_ERR_COORDINATOR_LOAD_IN_PROGRESS ] { 14 }
    Constant [ int RD_KAFKA_RESP_ERR_COORDINATOR_NOT_AVAILABLE ] { 15 }
    Constant [ int RD_KAFKA_RESP_ERR_NOT_COORDINATOR ] { 16 }
    Constant [ int RD_KAFKA_RESP_ERR_TOPIC_EXCEPTION ] { 17 }
    Constant [ int RD_KAFKA_RESP_ERR_RECORD_LIST_TOO_LARGE ] { 18 }
    Constant [ int RD_KAFKA_RESP_ERR_NOT_ENOUGH_REPLICAS ] { 19 }
    Constant [ int RD_KAFKA_RESP_ERR_NOT_ENOUGH_REPLICAS_AFTER_APPEND ] { 20 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_REQUIRED_ACKS ] { 21 }
    Constant [ int RD_KAFKA_RESP_ERR_ILLEGAL_GENERATION ] { 22 }
    Constant [ int RD_KAFKA_RESP_ERR_INCONSISTENT_GROUP_PROTOCOL ] { 23 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_GROUP_ID ] { 24 }
    Constant [ int RD_KAFKA_RESP_ERR_UNKNOWN_MEMBER_ID ] { 25 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_SESSION_TIMEOUT ] { 26 }
    Constant [ int RD_KAFKA_RESP_ERR_REBALANCE_IN_PROGRESS ] { 27 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_COMMIT_OFFSET_SIZE ] { 28 }
    Constant [ int RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZATION_FAILED ] { 29 }
    Constant [ int RD_KAFKA_RESP_ERR_GROUP_AUTHORIZATION_FAILED ] { 30 }
    Constant [ int RD_KAFKA_RESP_ERR_CLUSTER_AUTHORIZATION_FAILED ] { 31 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_TIMESTAMP ] { 32 }
    Constant [ int RD_KAFKA_RESP_ERR_UNSUPPORTED_SASL_MECHANISM ] { 33 }
    Constant [ int RD_KAFKA_RESP_ERR_ILLEGAL_SASL_STATE ] { 34 }
    Constant [ int RD_KAFKA_RESP_ERR_UNSUPPORTED_VERSION ] { 35 }
    Constant [ int RD_KAFKA_RESP_ERR_TOPIC_ALREADY_EXISTS ] { 36 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_PARTITIONS ] { 37 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_REPLICATION_FACTOR ] { 38 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_REPLICA_ASSIGNMENT ] { 39 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_CONFIG ] { 40 }
    Constant [ int RD_KAFKA_RESP_ERR_NOT_CONTROLLER ] { 41 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_REQUEST ] { 42 }
    Constant [ int RD_KAFKA_RESP_ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT ] { 43 }
    Constant [ int RD_KAFKA_RESP_ERR_POLICY_VIOLATION ] { 44 }
    Constant [ int RD_KAFKA_RESP_ERR_OUT_OF_ORDER_SEQUENCE_NUMBER ] { 45 }
    Constant [ int RD_KAFKA_RESP_ERR_DUPLICATE_SEQUENCE_NUMBER ] { 46 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_PRODUCER_EPOCH ] { 47 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_TXN_STATE ] { 48 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_PRODUCER_ID_MAPPING ] { 49 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_TRANSACTION_TIMEOUT ] { 50 }
    Constant [ int RD_KAFKA_RESP_ERR_CONCURRENT_TRANSACTIONS ] { 51 }
    Constant [ int RD_KAFKA_RESP_ERR_TRANSACTION_COORDINATOR_FENCED ] { 52 }
    Constant [ int RD_KAFKA_RESP_ERR_TRANSACTIONAL_ID_AUTHORIZATION_FAILED ] { 53 }
    Constant [ int RD_KAFKA_RESP_ERR_SECURITY_DISABLED ] { 54 }
    Constant [ int RD_KAFKA_RESP_ERR_OPERATION_NOT_ATTEMPTED ] { 55 }
    Constant [ int RD_KAFKA_RESP_ERR_KAFKA_STORAGE_ERROR ] { 56 }
    Constant [ int RD_KAFKA_RESP_ERR_LOG_DIR_NOT_FOUND ] { 57 }
    Constant [ int RD_KAFKA_RESP_ERR_SASL_AUTHENTICATION_FAILED ] { 58 }
    Constant [ int RD_KAFKA_RESP_ERR_UNKNOWN_PRODUCER_ID ] { 59 }
    Constant [ int RD_KAFKA_RESP_ERR_REASSIGNMENT_IN_PROGRESS ] { 60 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_AUTH_DISABLED ] { 61 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_NOT_FOUND ] { 62 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_OWNER_MISMATCH ] { 63 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_REQUEST_NOT_ALLOWED ] { 64 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_AUTHORIZATION_FAILED ] { 65 }
    Constant [ int RD_KAFKA_RESP_ERR_DELEGATION_TOKEN_EXPIRED ] { 66 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_PRINCIPAL_TYPE ] { 67 }
    Constant [ int RD_KAFKA_RESP_ERR_NON_EMPTY_GROUP ] { 68 }
    Constant [ int RD_KAFKA_RESP_ERR_GROUP_ID_NOT_FOUND ] { 69 }
    Constant [ int RD_KAFKA_RESP_ERR_FETCH_SESSION_ID_NOT_FOUND ] { 70 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_FETCH_SESSION_EPOCH ] { 71 }
    Constant [ int RD_KAFKA_RESP_ERR_LISTENER_NOT_FOUND ] { 72 }
    Constant [ int RD_KAFKA_RESP_ERR_TOPIC_DELETION_DISABLED ] { 73 }
    Constant [ int RD_KAFKA_RESP_ERR_FENCED_LEADER_EPOCH ] { 74 }
    Constant [ int RD_KAFKA_RESP_ERR_UNKNOWN_LEADER_EPOCH ] { 75 }
    Constant [ int RD_KAFKA_RESP_ERR_UNSUPPORTED_COMPRESSION_TYPE ] { 76 }
    Constant [ int RD_KAFKA_RESP_ERR_STALE_BROKER_EPOCH ] { 77 }
    Constant [ int RD_KAFKA_RESP_ERR_OFFSET_NOT_AVAILABLE ] { 78 }
    Constant [ int RD_KAFKA_RESP_ERR_MEMBER_ID_REQUIRED ] { 79 }
    Constant [ int RD_KAFKA_RESP_ERR_PREFERRED_LEADER_NOT_AVAILABLE ] { 80 }
    Constant [ int RD_KAFKA_RESP_ERR_GROUP_MAX_SIZE_REACHED ] { 81 }
    Constant [ int RD_KAFKA_RESP_ERR_FENCED_INSTANCE_ID ] { 82 }
    Constant [ int RD_KAFKA_RESP_ERR_ELIGIBLE_LEADERS_NOT_AVAILABLE ] { 83 }
    Constant [ int RD_KAFKA_RESP_ERR_ELECTION_NOT_NEEDED ] { 84 }
    Constant [ int RD_KAFKA_RESP_ERR_NO_REASSIGNMENT_IN_PROGRESS ] { 85 }
    Constant [ int RD_KAFKA_RESP_ERR_GROUP_SUBSCRIBED_TO_TOPIC ] { 86 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_RECORD ] { 87 }
    Constant [ int RD_KAFKA_RESP_ERR_UNSTABLE_OFFSET_COMMIT ] { 88 }
    Constant [ int RD_KAFKA_RESP_ERR_THROTTLING_QUOTA_EXCEEDED ] { 89 }
    Constant [ int RD_KAFKA_RESP_ERR_PRODUCER_FENCED ] { 90 }
    Constant [ int RD_KAFKA_RESP_ERR_RESOURCE_NOT_FOUND ] { 91 }
    Constant [ int RD_KAFKA_RESP_ERR_DUPLICATE_RESOURCE ] { 92 }
    Constant [ int RD_KAFKA_RESP_ERR_UNACCEPTABLE_CREDENTIAL ] { 93 }
    Constant [ int RD_KAFKA_RESP_ERR_INCONSISTENT_VOTER_SET ] { 94 }
    Constant [ int RD_KAFKA_RESP_ERR_INVALID_UPDATE_VERSION ] { 95 }
    Constant [ int RD_KAFKA_RESP_ERR_FEATURE_UPDATE_FAILED ] { 96 }
    Constant [ int RD_KAFKA_RESP_ERR_PRINCIPAL_DESERIALIZATION_FAILURE ] { 97 }
    Constant [ int RD_KAFKA_CONF_UNKNOWN ] { -2 }
    Constant [ int RD_KAFKA_CONF_INVALID ] { -1 }
    Constant [ int RD_KAFKA_CONF_OK ] { 0 }
    Constant [ int RD_KAFKA_LOG_PRINT ] { 100 }
    Constant [ int RD_KAFKA_LOG_SYSLOG ] { 101 }
    Constant [ int RD_KAFKA_LOG_SYSLOG_PRINT ] { 102 }
  }

  - Functions {
    Function [ <internal:simple_kafka_client> function kafka_get_err_descs ] {

      - Parameters [0] {
      }
      - Return [ array ]
    }
    Function [ <internal:simple_kafka_client> function kafka_err2str ] {

      - Parameters [1] {
        Parameter #0 [ <required> int $errorCode ]
      }
      - Return [ string ]
    }
    Function [ <internal:simple_kafka_client> function kafka_thread_cnt ] {

      - Parameters [0] {
      }
      - Return [ int ]
    }
    Function [ <internal:simple_kafka_client> function kafka_offset_tail ] {

      - Parameters [1] {
        Parameter #0 [ <required> int $offset ]
      }
      - Return [ int ]
    }
    Function [ <internal:simple_kafka_client> function kafka_err2name ] {

      - Parameters [1] {
        Parameter #0 [ <required> int $errorCode ]
      }
      - Return [ string ]
    }
  }

  - Classes [16] {
    Class [ <internal:simple_kafka_client> abstract class SimpleKafkaClient ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [6] {
        Method [ <internal:simple_kafka_client> public method getMetadata ] {

          - Parameters [3] {
            Parameter #0 [ <required> bool $allTopics ]
            Parameter #1 [ <required> int $timeoutMs ]
            Parameter #2 [ <required> SimpleKafkaClient\Topic $topic ]
          }
          - Return [ SimpleKafkaClient\Metadata ]
        }

        Method [ <internal:simple_kafka_client> public method getOutQLen ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method queryWatermarkOffsets ] {

          - Parameters [5] {
            Parameter #0 [ <required> string $topic ]
            Parameter #1 [ <required> int $partition ]
            Parameter #2 [ <required> int &$low ]
            Parameter #3 [ <required> int &$high ]
            Parameter #4 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method offsetsForTimes ] {

          - Parameters [2] {
            Parameter #0 [ <required> array $topicPartitions ]
            Parameter #1 [ <required> int $timeoutMs ]
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client> public method setOAuthBearerTokenFailure ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $errorString ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setOAuthBearerToken ] {

          - Parameters [4] {
            Parameter #0 [ <required> string $token ]
            Parameter #1 [ <required> int $lifetimeMs ]
            Parameter #2 [ <required> string $principalName ]
            Parameter #3 [ <optional> ?array $extensions = null ]
          }
          - Return [ void ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Producer extends SimpleKafkaClient ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [15] {
        Method [ <internal:simple_kafka_client, ctor> public method __construct ] {

          - Parameters [1] {
            Parameter #0 [ <required> SimpleKafkaClient\Configuration $configuration ]
          }
        }

        Method [ <internal:simple_kafka_client> public method initTransactions ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method beginTransaction ] {

          - Parameters [0] {
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method commitTransaction ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method abortTransaction ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method flush ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method poll ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method purge ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $purgeFlags ]
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getTopicHandle ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $topic ]
          }
          - Return [ SimpleKafkaClient\ProducerTopic ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method getMetadata ] {

          - Parameters [3] {
            Parameter #0 [ <required> bool $allTopics ]
            Parameter #1 [ <required> int $timeoutMs ]
            Parameter #2 [ <required> SimpleKafkaClient\Topic $topic ]
          }
          - Return [ SimpleKafkaClient\Metadata ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method getOutQLen ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method queryWatermarkOffsets ] {

          - Parameters [5] {
            Parameter #0 [ <required> string $topic ]
            Parameter #1 [ <required> int $partition ]
            Parameter #2 [ <required> int &$low ]
            Parameter #3 [ <required> int &$high ]
            Parameter #4 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method offsetsForTimes ] {

          - Parameters [2] {
            Parameter #0 [ <required> array $topicPartitions ]
            Parameter #1 [ <required> int $timeoutMs ]
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method setOAuthBearerTokenFailure ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $errorString ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method setOAuthBearerToken ] {

          - Parameters [4] {
            Parameter #0 [ <required> string $token ]
            Parameter #1 [ <required> int $lifetimeMs ]
            Parameter #2 [ <required> string $principalName ]
            Parameter #3 [ <optional> ?array $extensions = null ]
          }
          - Return [ void ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Consumer extends SimpleKafkaClient ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [19] {
        Method [ <internal:simple_kafka_client, ctor> public method __construct ] {

          - Parameters [1] {
            Parameter #0 [ <required> SimpleKafkaClient\Configuration $configuration ]
          }
        }

        Method [ <internal:simple_kafka_client> public method assign ] {

          - Parameters [1] {
            Parameter #0 [ <optional> ?array $topics = null ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method getAssignment ] {

          - Parameters [0] {
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client> public method subscribe ] {

          - Parameters [1] {
            Parameter #0 [ <required> array $topics ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method getSubscription ] {

          - Parameters [0] {
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client> public method unsubscribe ] {

          - Parameters [0] {
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method consume ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $timeoutMs ]
          }
          - Return [ SimpleKafkaClient\Message ]
        }

        Method [ <internal:simple_kafka_client> public method commit ] {

          - Parameters [1] {
            Parameter #0 [ <required> $messageOrOffsets ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method commitAsync ] {

          - Parameters [1] {
            Parameter #0 [ <required> $messageOrOffsets ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method close ] {

          - Parameters [0] {
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method getTopicHandle ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $topic ]
          }
          - Return [ SimpleKafkaClient\ConsumerTopic ]
        }

        Method [ <internal:simple_kafka_client> public method getCommittedOffsets ] {

          - Parameters [2] {
            Parameter #0 [ <required> array $topics ]
            Parameter #1 [ <required> int $timeoutMs ]
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client> public method getOffsetPositions ] {

          - Parameters [1] {
            Parameter #0 [ <required> array $topics ]
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method getMetadata ] {

          - Parameters [3] {
            Parameter #0 [ <required> bool $allTopics ]
            Parameter #1 [ <required> int $timeoutMs ]
            Parameter #2 [ <required> SimpleKafkaClient\Topic $topic ]
          }
          - Return [ SimpleKafkaClient\Metadata ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method getOutQLen ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method queryWatermarkOffsets ] {

          - Parameters [5] {
            Parameter #0 [ <required> string $topic ]
            Parameter #1 [ <required> int $partition ]
            Parameter #2 [ <required> int &$low ]
            Parameter #3 [ <required> int &$high ]
            Parameter #4 [ <required> int $timeoutMs ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method offsetsForTimes ] {

          - Parameters [2] {
            Parameter #0 [ <required> array $topicPartitions ]
            Parameter #1 [ <required> int $timeoutMs ]
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method setOAuthBearerTokenFailure ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $errorString ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient> public method setOAuthBearerToken ] {

          - Parameters [4] {
            Parameter #0 [ <required> string $token ]
            Parameter #1 [ <required> int $lifetimeMs ]
            Parameter #2 [ <required> string $principalName ]
            Parameter #3 [ <optional> ?array $extensions = null ]
          }
          - Return [ void ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Configuration ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [10] {
        Method [ <internal:simple_kafka_client, ctor> public method __construct ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:simple_kafka_client> public method dump ] {

          - Parameters [0] {
          }
          - Return [ array ]
        }

        Method [ <internal:simple_kafka_client> public method set ] {

          - Parameters [2] {
            Parameter #0 [ <required> string $name ]
            Parameter #1 [ <required> string $value ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setErrorCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setDrMsgCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setStatsCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setRebalanceCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setOffsetCommitCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setLogCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method setOAuthBearerTokenRefreshCb ] {

          - Parameters [1] {
            Parameter #0 [ <required> callable $callback ]
          }
          - Return [ void ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Exception extends Exception implements Throwable, Stringable ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [4] {
        Property [ protected $message = '' ]
        Property [ protected $code = 0 ]
        Property [ protected string $file = '' ]
        Property [ protected int $line = 0 ]
      }

      - Methods [10] {
        Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {

          - Parameters [3] {
            Parameter #0 [ <optional> string $message = "" ]
            Parameter #1 [ <optional> int $code = 0 ]
            Parameter #2 [ <optional> ?Throwable $previous = null ]
          }
        }

        Method [ <internal:Core, inherits Exception> public method __wakeup ] {

          - Parameters [0] {
          }
          - Tentative return [ void ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {

          - Parameters [0] {
          }
          - Return [ array ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {

          - Parameters [0] {
          }
          - Return [ ?Throwable ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\KafkaErrorException extends SimpleKafkaClient\Exception implements Stringable, Throwable ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [8] {
        Property [ protected $message = '' ]
        Property [ protected $code = 0 ]
        Property [ protected string $file = '' ]
        Property [ protected int $line = 0 ]
        Property [ private $error_string = NULL ]
        Property [ private $isFatal = false ]
        Property [ private $isRetriable = false ]
        Property [ private $transactionRequiresAbort = false ]
      }

      - Methods [14] {
        Method [ <internal:simple_kafka_client, overwrites Exception, ctor> public method __construct ] {

          - Parameters [6] {
            Parameter #0 [ <required> string $message ]
            Parameter #1 [ <required> int $code ]
            Parameter #2 [ <required> string $error_string ]
            Parameter #3 [ <required> bool $isFatal ]
            Parameter #4 [ <required> bool $isRetriable ]
            Parameter #5 [ <required> bool $transactionRequiresAbort ]
          }
        }

        Method [ <internal:simple_kafka_client> public method getErrorString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:simple_kafka_client> public method isFatal ] {

          - Parameters [0] {
          }
          - Return [ bool ]
        }

        Method [ <internal:simple_kafka_client> public method isRetriable ] {

          - Parameters [0] {
          }
          - Return [ bool ]
        }

        Method [ <internal:simple_kafka_client> public method transactionRequiresAbort ] {

          - Parameters [0] {
          }
          - Return [ bool ]
        }

        Method [ <internal:Core, inherits Exception> public method __wakeup ] {

          - Parameters [0] {
          }
          - Tentative return [ void ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {

          - Parameters [0] {
          }
          - Return [ array ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {

          - Parameters [0] {
          }
          - Return [ ?Throwable ]
        }

        Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Message ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [9] {
        Property [ public $err = NULL ]
        Property [ public $topic_name = NULL ]
        Property [ public $timestamp = NULL ]
        Property [ public $partition = NULL ]
        Property [ public $payload = NULL ]
        Property [ public $len = NULL ]
        Property [ public $key = NULL ]
        Property [ public $offset = NULL ]
        Property [ public $headers = NULL ]
      }

      - Methods [1] {
        Method [ <internal:simple_kafka_client> public method getErrorString ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Metadata ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [4] {
        Method [ <internal:simple_kafka_client> public method getOrigBrokerId ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getOrigBrokerName ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:simple_kafka_client> public method getBrokers ] {

          - Parameters [0] {
          }
          - Return [ SimpleKafkaClient\Metadata\Collection ]
        }

        Method [ <internal:simple_kafka_client> public method getTopics ] {

          - Parameters [0] {
          }
          - Return [ SimpleKafkaClient\Metadata\Collection ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Metadata\Topic ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [3] {
        Method [ <internal:simple_kafka_client> public method getName ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:simple_kafka_client> public method getErrorCode ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getPartitions ] {

          - Parameters [0] {
          }
          - Return [ SimpleKafkaClient\Metadata\Collection ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Metadata\Broker ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [3] {
        Method [ <internal:simple_kafka_client> public method getId ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getHost ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }

        Method [ <internal:simple_kafka_client> public method getPort ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\Metadata\Partition ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [5] {
        Method [ <internal:simple_kafka_client> public method getId ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getErrorCode ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getLeader ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method getReplicas ] {

          - Parameters [0] {
          }
          - Return [ SimpleKafkaClient\Metadata\Collection ]
        }

        Method [ <internal:simple_kafka_client> public method getIsrs ] {

          - Parameters [0] {
          }
          - Return [ SimpleKafkaClient\Metadata\Collection ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> <iterateable> class SimpleKafkaClient\Metadata\Collection implements Countable, Iterator, Traversable ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [6] {
        Method [ <internal:simple_kafka_client, prototype Countable> public method count ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client, prototype Iterator> public method rewind ] {

          - Parameters [0] {
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, prototype Iterator> public method current ] {

          - Parameters [0] {
          }
          - Tentative return [ mixed ]
        }

        Method [ <internal:simple_kafka_client, prototype Iterator> public method key ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client, prototype Iterator> public method next ] {

          - Parameters [0] {
          }
          - Tentative return [ void ]
        }

        Method [ <internal:simple_kafka_client, prototype Iterator> public method valid ] {

          - Parameters [0] {
          }
          - Return [ bool ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\TopicPartition ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [7] {
        Method [ <internal:simple_kafka_client, ctor> public method __construct ] {

          - Parameters [3] {
            Parameter #0 [ <required> string $topicName ]
            Parameter #1 [ <required> int $partition ]
            Parameter #2 [ <optional> int $offset = 0 ]
          }
        }

        Method [ <internal:simple_kafka_client> public method getTopicName ] {

          - Parameters [0] {
          }
          - Return [ ?string ]
        }

        Method [ <internal:simple_kafka_client> public method setTopicName ] {

          - Parameters [1] {
            Parameter #0 [ <required> string $topicName ]
          }
          - Return [ SimpleKafkaClient\TopicPartition ]
        }

        Method [ <internal:simple_kafka_client> public method getPartition ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method setPartition ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $partition ]
          }
          - Return [ SimpleKafkaClient\TopicPartition ]
        }

        Method [ <internal:simple_kafka_client> public method getOffset ] {

          - Parameters [0] {
          }
          - Return [ int ]
        }

        Method [ <internal:simple_kafka_client> public method setOffset ] {

          - Parameters [1] {
            Parameter #0 [ <required> int $offset ]
          }
          - Return [ SimpleKafkaClient\TopicPartition ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> abstract class SimpleKafkaClient\Topic ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [1] {
        Method [ <internal:simple_kafka_client> public method getName ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\ConsumerTopic extends SimpleKafkaClient\Topic ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [2] {
        Method [ <internal:simple_kafka_client, ctor> private method __construct ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient\Topic> public method getName ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }

    Class [ <internal:simple_kafka_client> class SimpleKafkaClient\ProducerTopic extends SimpleKafkaClient\Topic ] {

      - Constants [0] {
      }

      - Static properties [0] {
      }

      - Static methods [0] {
      }

      - Properties [0] {
      }

      - Methods [4] {
        Method [ <internal:simple_kafka_client, ctor> private method __construct ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:simple_kafka_client> public method produce ] {

          - Parameters [4] {
            Parameter #0 [ <required> int $partition ]
            Parameter #1 [ <required> int $msgFlags ]
            Parameter #2 [ <optional> ?string $payload = null ]
            Parameter #3 [ <optional> ?string $key = null ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client> public method producev ] {

          - Parameters [6] {
            Parameter #0 [ <required> int $partition ]
            Parameter #1 [ <required> int $msgFlags ]
            Parameter #2 [ <optional> ?string $payload = null ]
            Parameter #3 [ <optional> ?string $key = null ]
            Parameter #4 [ <optional> ?array $headers = null ]
            Parameter #5 [ <optional> ?int $timestampMs = null ]
          }
          - Return [ void ]
        }

        Method [ <internal:simple_kafka_client, inherits SimpleKafkaClient\Topic> public method getName ] {

          - Parameters [0] {
          }
          - Return [ string ]
        }
      }
    }
  }
}