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.
Enum Variants as types are not supported in rust this is a common workaround
struct Dog {}
struct Whale {}
enum Animal {
Dog(Dog),
Whale(Whale),
}