To thrive in the competitive market shaped by industry 4.0, businesses must embrace sophisticated data collection and analysis techniques. The ability to gather detailed and real-time production data is becoming crucial, not only for enhancing quality control but also for boosting machine efficiency. Decisions at the management level increasingly rely on statistics derived from such data, which is predominantly sourced from machine PLCs. These PLCs track vital parameters such as product values, timestamps and robot movements. In this data-driven environment, machines serve as pivotal information hubs, facilitating process improvements with databases acting as repositories. The industry's demand for a traceable product journey within the factory—to pinpoint errors and refine production methods—is met through advanced traceability systems. Moreover, high-frequency production zones require robust data processing capabilities. To address this, an Apache Kafka server is implemented, ensuring millisecond-level data transmission between endpoints. Apache Kafka's scalable messaging architecture enables real-time data processing and supports both horizontal and vertical communication, accommodating various use cases. Additionally, the integration of IT and operational technology (OT) brings cybersecurity into focus, assessing vulnerabilities within this interconnected framework. This comprehensive approach not only enhances operational efficiency but also fortifies the infrastructure against potential cyber threats, paving the way for a more resilient and efficient production landscape.