MConnect Events: The Intelligent Infrastructure Revolutionizing Real-Time Data Exchange
The Electronic Governance Agency presents MConnect Events – an innovative service within the MConnect ecosystem, designed to revolutionize the way public institutions exchange data. With over 2.5 million messages processed daily through MConnect, this extension brings a significant technological leap, steering the state's digital architecture towards modern, event-based models.
What MConnect Events Brings:
MConnect Events allows information systems to share changes in registers and databases almost in real-time, as well as in a disconnected manner that does not depend on the immediate availability of all participants.
Thus:
- Data synchronizes within seconds, improving the accuracy and timeliness of information.
- Flows continue even if a system is temporarily unavailable.
- Performance and availability requirements for connected information systems are reduced.
- It opens the way to proactive services – such as automatic notifications about document expiration or legislative changes.
- It creates the foundations for event-based registers, with extended traceability, complete history, and advanced analysis capabilities (including AI).
- It facilitates rapid intervention in risk cases, such as account blocks or real-time applied restrictions.
The platform uses a system called Apache Kafka to quickly send and receive messages between different applications. It is managed with the help of a tool called Strimzi, making it easier to use. All of this operates on MCloud, an IT infrastructure used by state institutions. For security, the platform uses MPass – a system that verifies who is allowed to enter and what they are allowed to do.
Thanks to these technologies, the platform is efficient, cost-effective, and can easily scale when needed. Tests have shown that it can process up to 10,000 messages per second.
Since April 15, MConnect Events has exited the pilot phase, with 4 institutions already active and two operational event flows, currently managing around 1300 events per day.
For developers who want to quickly and correctly integrate their own systems, the Agency has published a comprehensive technical guide, which includes:
- API interfaces for producing and consuming events
- Security requirements and best practices
- Integration examples, including with the dedicated .NET library
- Compliance and performance checklist
Events (i.e., information sent by the platform) can be received very quickly using a technology called WebSocket. For tests or simpler cases, easier-to-implement methods such as long-polling (a technique where the application repeatedly checks for updates) can be used.
To ensure things work correctly and stably, it is recommended to use well-known methods such as the "outbox pattern" (a technique where messages are temporarily stored to prevent loss) and "idempotent processing" (where the system treats the same message the same way each time, even if it receives it multiple times).
Launched in 2016, MConnect is the national interoperability platform through which public authorities exchange data in real-time, eliminating the need to request documents from citizens and companies. To access data through the platform, any interested entity must submit a standardized application to the Electronic Governance Agency, according to Order No. 3005-22 of March 11, 2022. Access is now much more accessible, thanks to the reduced single tariff of 0.25 lei per query, applicable to all users. MConnect Events is the foundation of a connected, flexible, and intelligent digital future, ready to support public administration in the era of advanced interoperability.