<?php

/**
 * Bootstrap for kafkalib — PHP 7.0-compatible variant.
 *
 * Works on PHP 7.0 and up (tested syntax target: 7.0+). Use this instead of
 * ../autoload.php when the code that requires kafkalib runs on PHP 7.0–7.3,
 * where the main (8.1+) classes would fail to parse.
 *
 * The classes live in the global namespace, so just require this one file
 * and use KafkaConfig / Producer / Consumer directly.
 *
 * Usage:
 *     require_once __DIR__ . '/lib/php/include/kafkalib/php70/autoload.php';
 *     $config = new KafkaConfig('127.0.0.1:9092');
 *
 * NOTE: Do not load this AND ../autoload.php in the same process — both
 * define the same class names (KafkaConfig / Producer / Consumer) and would
 * collide. Pick one based on your PHP version.
 */
require_once __DIR__ . '/KafkaConfig.php';
require_once __DIR__ . '/Producer.php';
require_once __DIR__ . '/Consumer.php';
