Actual-time information streaming and occasion processing are crucial elements of recent distributed programs architectures. Apache Kafka has emerged as a number one platform for constructing real-time information pipelines and enabling asynchronous communication between microservices and purposes. Nevertheless, working and managing Kafka clusters at scale may be difficult, requiring specialised experience and vital operational overhead.
Amazon Managed Streaming for Apache Kafka (Amazon MSK) is a completely managed service that lets you construct and run manufacturing Kafka purposes. With Amazon MSK, you’ll be able to depend on AWS to deal with the heavy lifting of provisioning and managing Kafka clusters, whilst you give attention to constructing progressive purposes and real-time information processing pipelines.
On this submit, we discover how Fitch Group, one of many high credit standing corporations, used Amazon MSK and Amazon MSK Replicator to realize multi-Area resiliency for his or her mission-critical Kafka infrastructure.
About Fitch Group and their want for multi-region resiliency
As a number one international monetary data providers supplier, Fitch Group delivers very important credit score and danger insights, strong information, and dynamic instruments to champion extra environment friendly, clear monetary markets. With workers in over 30 nations, Fitch Group’s tradition of credibility, independence, and transparency is embedded all through its construction, which incorporates Fitch Rankings, one of many world’s high three credit score rankings companies, and Fitch Options, a number one supplier of insights, information, and analytics.
To remain aggressive and environment friendly within the fast-paced monetary trade, Fitch Group strategically adopted an event-driven microservices structure. On the coronary heart of this ecosystem lies Kafka, particularly Amazon MSK, which serves because the spine for his or her information integration programs.
Fitch Group makes use of Kafka to allow purposes to ship ratings-related enterprise occasions, facilitating automation inside their rankings workflow programs and offering real-time or close to real-time processing. This architectural alternative has considerably lowered the time to marketplace for end-user-facing programs like Fitch Rankings Professional and Fitch Group Rankings web sites. Furthermore, Kafka’s strong capabilities permit for seamless aggregation and distribution of information from many disparate programs via their information platform, enhancing information consistency, reliability, and accessibility throughout the group.
Given the crucial function that Kafka performs in Fitch Group structure, offering strong catastrophe restoration (DR) mechanisms turned paramount. Any disruption to their Kafka infrastructure might have vital repercussions on their rankings workflow automation, real-time processing, and end-user-facing programs, probably exposing Fitch Group to regulatory, monetary, and reputational dangers.
To realize the specified ranges of resiliency, Fitch Group had the next key necessities:
- Multi-Area deployment – Deploy MSK clusters throughout a number of AWS Areas to supply enterprise continuity and keep service availability throughout Regional or service occasions
- Automated replication – Replicate Kafka information throughout Areas in close to actual time with minimal latency and information loss
- Constant subject namespaces – Preserve the identical Kafka subject names and buildings throughout supply and vacation spot clusters to reduce software modifications
- Speedy restoration – Within the occasion of a failover, allow purposes to seamlessly begin consuming from the replicated cluster with minimal Restoration Time Goal (RTO) and Restoration Level Goal (RPO)
Resolution overview
Fitch Group selected to implement their multi-Area Kafka deployment utilizing Amazon MSK and MSK Replicator. MSK Replicator is a completely managed replication service that permits steady, automated information replication between MSK clusters throughout the identical Area or throughout completely different Areas. It helps replicating information between clusters with completely different configurations, together with various dealer counts, storage volumes, and Kafka variations. Right here’s how Fitch Group used MSK Replicator to realize their multi-Area resiliency targets:
- Deployed MSK clusters in two separate Areas, with the first cluster in the primary Area and the secondary cluster in a unique Area for catastrophe restoration
- Configured MSK Replicator to constantly replicate information from the first cluster to the secondary cluster, sustaining the identical subject names and buildings throughout each clusters
- Applied software failover logic to robotically swap to consuming from the secondary cluster in case of a main cluster unavailability, with minimal restoration time and information loss
The next diagram illustrates this structure
Advantages achieved
By implementing Amazon MSK and MSK Replicator, Fitch Group realized a number of key advantages:
- Enhanced catastrophe restoration – The multi-Area deployment supplies enterprise continuity even within the face of Regional or service occasions.
- Simplified operations – The managed functionality of MSK Replicator offloads the operational complexity of self-managing customized replication options, decreasing the burden on Fitch Group’s IT group
- Scalability – The answer can scale to deal with various information hundreds, ensuring that DR capabilities develop alongside enterprise wants
- Minimal software modifications – MSK Replicator helps replicating matters with the identical identify, which eliminates the necessity for shopper software modifications, decreasing improvement effort and potential errors
- Seamless failover and failback – Bidirectional replication capabilities allow fast switching of operations to the standby Area with minimal disruption, and simple reversion after the first Area is restored
- Improved testing capabilities – The setup facilitates common DR workout routines with out impacting manufacturing programs, permitting Fitch Group to validate their DR plans constantly
Conclusion
By utilizing Amazon MSK and MSK Replicator, Fitch Group has efficiently carried out a extremely resilient and scalable Kafka infrastructure that meets their stringent enterprise continuity and catastrophe restoration necessities. This multi-Area deployment permits them to course of mission-critical monetary information at scale whereas offering minimal downtime and information loss within the occasion of service occasions or disasters. As Fitch Group continues to innovate and develop, their strong Kafka infrastructure supplies a stable basis for future enlargement and the event of recent data-driven providers, in the end enhancing their means to ship well timed and correct monetary insights to their shoppers.
Concerning the authors
Kalyan Janaki is Senior Huge Information & Analytics Specialist with Amazon Internet Companies. He helps prospects architect and construct extremely scalable, performant, and safe cloud-based options on AWS.
Venu Nemallikanti is the Enterprise Architect and Lead for Occasion Streaming at Fitch Group, a globally acknowledged monetary data providers supplier working in over 30 nations. His main obligations embrace overseeing the structure and implementation of occasion streaming options, making certain the seamless integration and efficiency of programs that ship credit score rankings, analysis, information, and analytics to a worldwide clientele.
Chaitanya Shah is a Principal Technical Account Supervisor with AWS, based mostly out of New York. He likes to code and actively contributes to the AWS options labs to assist prospects clear up advanced issues. He supplies steerage to AWS prospects on finest practices for his or her Cloud migrations. He’s additionally specialised in AWS information switch and the info and analytics area.
Oleg Chugaev is a Principal Options Architect and Serverless evangelist with 20+ years in IT, holding a number of AWS certifications. At AWS, he drives prospects via their cloud transformation journeys by changing advanced challenges into actionable roadmaps for each technical and enterprise audiences.