Home / Companies / Coralogix / Blog / June 2019

June 2019 Summaries

2 posts from Coralogix

Filter
Month: Year:
Post Summaries Back to Blog
Kafka, an open-source real-time streaming messaging system, operates on a publish-subscribe model where producers send data to feeds that consumers subscribe to, enabling efficient information exchange with high performance and minimized failure risk. It distributes and replicates data across multiple servers, allowing for low-latency, fault-tolerant data movement between system components. Kafka's architecture supports features like high-throughput and near-limitless scalability by utilizing commit logs and enabling concurrent consumer processing. Key components include brokers, which manage data distribution, and topics, which organize data streams for producers and consumers. Kafka supports various use cases, such as IoT networks, real-time analytics, and large-scale message processing, by employing consumer groups, partitions, and replicas to ensure data durability and availability. Additionally, Kafka Connect facilitates data import and export from external sources, while Kafka Streams offers real-time data processing capabilities. ZooKeeper plays a crucial role in maintaining metadata and coordinating broker activities, ensuring the overall system's reliability and efficiency. Since its inception by LinkedIn in 2011, Kafka has become a prominent platform for data distribution and streaming in various applications.
Jun 02, 2019 2,130 words in the original blog post.
Creating a Kafka topic in a production environment involves several key considerations to ensure optimal performance and reliability. The process requires setting the partition count and replication factor, which are crucial for balancing load across brokers and ensuring fault-tolerance. Partitions, which contain messages in an immutable sequence, are influenced by the message volume and size, and they determine the parallelism of the service. The replication factor ensures fault-tolerance by allowing follower replicas to take over in case of leader partition failure, without directly impacting performance. Retention settings dictate how long messages are kept, typically defaulting to seven days, but this is adjustable based on specific use cases. Kafka compaction can be used to manage topic size by deleting outdated records, retaining only the most recent version based on keys.
Jun 02, 2019 695 words in the original blog post.