Skip to content

minosiants/codecrafters-kafka-rust

Repository files navigation

progress-banner

This is a starting point for Rust solutions to the "Build Your Own Kafka" Challenge.

In this challenge, you'll build a toy Kafka clone that's capable of accepting and responding to APIVersions & Fetch API requests. You'll also learn about encoding and decoding messages using the Kafka wire protocol. You'll also learn about handling the network protocol, event loops, TCP sockets and more.

Note: If you're viewing this repo on GitHub, head over to codecrafters.io to try the challenge.

Refactoring

Newtype macro

Enums

Enum Variants as types are not supported in rust this is a common workaround

struct Dog {}
struct Whale {}
enum Animal {
    Dog(Dog),
    Whale(Whale),
}

About

Build your own Kafka Challenge from CodeCrafters https://app.codecrafters.io/courses/kafka/overview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •