OSOmprakash Sridharaninomprakashsridharan.hashnode.dev·Jun 24, 2023 · 2 min readRust multi module microservices Part 8 - The conclusionThe entire code that we wrote until now is available for reference here. Let's run our code ! Terminal 1 docker compose up Please wait for the containers to start ( ~20 seconds ) and then run the below commands. Terminal 2 cargo run --bin books_api ...00
OSOmprakash Sridharaninomprakashsridharan.hashnode.dev·Jun 24, 2023 · 3 min readRust multi module microservices Part 7 - Books AnalyticsWe are so close to the end and just one more step to configure a service that consumes the created book. Update the Cargo.toml of books_analytics crate to have the below contents. [package] name = "books_analytics" version = "0.0.0" edition = "2021" ...00
OSOmprakash Sridharaninomprakashsridharan.hashnode.dev·Jun 24, 2023 · 15 min readRust multi module microservices Part 6 - Books APII hope you've reached this point, and now we'll begin creating our first microservice application: a books HTTP REST API with a single POST endpoint for adding a book. However, before we proceed, we must establish a migration setup for this service t...00
OSOmprakash Sridharaninomprakashsridharan.hashnode.dev·Jun 24, 2023 · 2 min readRust multi module microservices Part 5 - CommonEvery workspace can have multiple application crates that can have some common utility functions, constants, models/structs for HTTP Request/Response, Kafka Messages, and much more. For this purpose, we are having the common crate to be used for hold...00
OSOmprakash Sridharaninomprakashsridharan.hashnode.dev·Jun 24, 2023 · 14 min readRust multi module microservices Part 4 - Kafka with AvroIn this article, we will set up the Kafka crate with a generic producer and consumer capable of producing and consuming data in the Avro format. We will also integrate it with the Confluent Schema Registry to ensure that the messages adhere to a spec...00