Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Data Streams
    • All tutorials
    • Ingesting data into storage systems
    • Smart log processing
    • Data transfer in microservice architectures
    • Storing data in ClickHouse®
    • Log replication to Object Storage via Fluent Bit
    • Log replication to Object Storage via Data Streams
    • Data migration to Yandex Object Storage using Yandex Data Transfer
    • Data delivery from Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Data delivery from an Data Streams queue to Managed Service for YDB
    • Delivering data to Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Change data capture (CDC) from YDB and delivery to YDS
    • Change data capture (CDC) from PostgreSQL and delivery to YDS
    • Change data capture (CDC) from MySQL® and delivery to YDS
    • Streaming Yandex Cloud Postbox events to Yandex Data Streams and analyzing them with Yandex DataLens
    • Building an interactive serverless application using WebSocket
    • Processing Audit Trails events
    • Debezium Change Data Capture (CDC) stream processing
    • Importing audit logs to MaxPatrol SIEM
    • Searching for Yandex Cloud events in Yandex Query
    • Yandex Cloud Postbox integration with external systems via webhooks
  • Access management
  • Pricing policy
  • FAQ

In this article:

  • Benefits
  • Reliability
  • Different lifetime
  • Scalability
  • Comparison with Apache Kafka®
  • Setup
  1. Tutorials
  2. Data transfer in microservice architectures

Data transfer in microservice architectures

Written by
Yandex Cloud
Updated at August 15, 2025
  • Benefits
    • Reliability
    • Different lifetime
    • Scalability
  • Comparison with Apache Kafka®
  • Setup

Modern applications are migrating from monolithic to microservice architectures. A growing number of components are now working together seamlessly, written in different programming languages and running on various devices.

Using data streaming buses for exchanging information between these components makes it easier to develop a microservice architecture, while enhancing reliability and scalability.

BenefitsBenefits

ReliabilityReliability

Microservice architectures are typically distributed by design. Reliability is a key factor in a distributed architecture. Implementing a complete failure model in each application is challenging. Therefore, fault tolerance is only built into infrastructure components, with other apps relying on them to stay fault-tolerant.

Different lifetimeDifferent lifetime

In a monolithic architecture, all components are continuously available for data exchange. Components of a microservice architecture have different lifetimes and cannot rely on direct data exchange between them. You need to either buffer the data or send it via a data streaming bus.

ScalabilityScalability

As applications grow, they are expected to remain just as efficient. With data streaming buses, you can simply follow a built-in interaction scenario to make your applications scalable.

Comparison with Apache Kafka®Comparison with Apache Kafka®

The table below shows a comparison of Data Streams and Apache Kafka®, a widely used data streaming platform.

Parameter Yandex Data Streams Apache Kafka®
Supported protocol Amazon Kinesis Data Streams API Apache Kafka®
Supported SDKs HTTP, Java, C++, Go, and more HTTP, Java, C++, Go, and more
Cost Fee for using resources: speed and retention period Fee for reserving resources: VMs
Operation complexity No user administration required The system is administered by the user, Yandex Cloud is only responsible for the infrastructure
Scaling Zero service downtime (currently, the system only supports scaling up) Service downtime while restarting a cluster
Integration with Yandex Cloud High: Cloud Functions triggers, API Gateway, and more Basic
Security Authorization with an IAM token and access key Authorization with a username and password
Reliability High reliability with data stored across three availability zones High reliability with user customization
Message delivery time Less than a second Less than a second
Data retention period Set at creation, 1 to 24 hours Limited by VM disk capacity
Customizability Basic parameters High, as long as Yandex Cloud supports the configurations

SetupSetup

To set up data transfer between components:

  1. Create a data stream in Data Streams.
  2. Configure the AWS SDK.
  3. Use the following SDKs:
    • Go
    • C++
    • Java
    • JavaScript
    • Python
    • HTTP Kinesis Data Streams API

Was the article helpful?

Previous
Smart log processing
Next
Storing data in ClickHouse®
© 2025 Direct Cursus Technology L.L.C.