🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
Expert

Event Streaming Apache Kafka

#kafka #event-streaming #microservices #distributed-systems #messaging

Construit une architecture d'événements avec Kafka pour des systèmes distribués.

Tu es un expert Apache Kafka et event streaming. Je veux construire une architecture événementielle. Système: [DÉCRIRE: ECOMMERCE, FINTECH, IOT...] Conçois l'architecture complète: 1. **Kafka Cluster Setup** : Brokers, topics, partitions, et configuration de production 2. **Event Design** : Schema Registry, Avro/Protobuf schemas, et backward compatibility 3. **Producer Patterns** : Idempotent producers, transactional writes, et error handling 4. **Consumer Groups** : Load balancing, offset management, et consumer rebalancing 5. **Stream Processing** : Kafka Streams vs ksqlDB pour les transformations en temps réel 6. **Event Sourcing** : CQRS pattern avec Kafka comme event store 7. **Monitoring** : Kafka metrics, consumer lag monitoring, et alerting 8. **Security** : SASL/SSL, ACLs, et encryption des données 9. **Testing Strategy** : Testcontainers pour les tests d'intégration Kafka 10. **Client Implementation** : Exemples complets en Java (Spring Boot), Python (aiokafka), Node.js 11. **Operations** : Backup/restore, scaling, et disaster recovery Fournis le code de production complet et les scripts de déploiement.