Files
seaweedfs/test
chrislu 26eae1583f Phase 1: Enhanced Kafka Gateway Schema Integration
- Enhanced AgentClient with comprehensive Kafka record schema
  - Added kafka_key, kafka_value, kafka_timestamp, kafka_headers fields
  - Added kafka_offset and kafka_partition for full Kafka compatibility
  - Implemented createKafkaRecordSchema() for structured message storage

- Enhanced SeaweedMQHandler with schema-aware topic management
  - Added CreateTopicWithSchema() method for proper schema registration
  - Integrated getDefaultKafkaSchema() for consistent schema across topics
  - Enhanced KafkaTopicInfo to store schema metadata

- Enhanced Produce API with SeaweedMQ integration
  - Updated produceToSeaweedMQ() to use enhanced schema
  - Added comprehensive debug logging for SeaweedMQ operations
  - Maintained backward compatibility with in-memory mode

- Added comprehensive integration tests
  - TestSeaweedMQIntegration for end-to-end SeaweedMQ backend testing
  - TestSchemaCompatibility for various message format validation
  - Tests verify enhanced schema works with different key-value types

This implements the mq.agent architecture pattern for Kafka Gateway,
providing structured message storage in SeaweedFS with full schema support.
2025-09-11 08:17:18 -07:00
..
2023-11-13 08:23:53 -08:00
2025-08-30 11:15:48 -07:00