Skip to content

Solving Complex Kafka Issues: Enterprise Case Studies

Apache Kafka issues, especially for enterprises running Kafka at scale, can escalate quickly and bring operations to a halt. The open source community may be able to offer assistance, but in some situations, you need a resolution fast. 

While some organizations partner with OpenLogic for ongoing, SLA-backed Kafka support, our Professional Services team gets involved when a customer who does not have a support contract needs a consultation or help troubleshooting an issue with their Kafka deployments. These engagements can last anywhere from a few days to a few weeks, depending on the scope and complexity of the project. 

In this blog, we present four Kafka case studies with details on what the Kafka issue was and how OpenLogic solved it. 

Case Study #1: Large Internet Marketing Firm

Background: This customer was tracking clickstream events to measure ad campaign success. Their large bare metal implementation contained 48 nodes, and was processing roughly 5.8 million messages per second with 1-2 second end-to-end latency.

The Issue: LeaderAndIsr requests were failing during rolling restarts, resulting in multiple leader epochs with stale zkVersions.

The Solution: OpenLogic identified an existing bug that had not been fixed in the version of Kafka they were using, which had a higher likelihood of occurring during resource contention on the Zookeeper instance co-located on five of the Kafka nodes. They recommended upgrading the Kafka cluster and running Kafka on Zookeeper on independent nodes, which fixed the issue. 

Length of Engagement: 5 days 

 

Case Study #2: Large South American Bank

Background: This customer was currently utilizing IBM MQ and not hitting the performance metrics they desired. They were having to deal with large messages at high volume.

The Issue: Due to slow response times with end-to-end latency and total throughput with large messages, the customer wanted to move to Kafka to have a streaming-focused messaging bus.

The Solution: OpenLogic provided architecture using the Saga pattern with Apache Kafka and Apache Camel for managing long-running actions, such as crediting a payment on a loan from cash deposited at a branch. They also provided architecture for using Kafka with log shipping and the ELK stack, as well as for bridging events from IBM API Connect Cloud to Elasticsearch index behind the firewall using Apache Kafka. Finally, OpenLogic led a 5-day Apache Camel training to a team of 15 people so they could learn how to create Kafka consumers and producers.

Length of Engagement: 27 days 

Related Video: Apache Kafka Best Practices 

 

Case Study #3: U.S. Aerospace Firm

Background: Originally this customer wanted help with Rancher and moving from a VM-based Kafka cluster. They were utilizing a web socket server that was responsible for collecting satellite location data in real time. The web socket server could not talk directly with Kafka, and so they had developed a Camel-based system for their original Kafka cluster. They did not have any metrics collected on the existing cluster and could not identify the root cause for message delays and lag. 

The Issue: Performance issues with pub/sub relay application that consumed from websockets from domain-specific appliance and published to Kafka queues.

The Solution: OpenLogic implemented Rancher clusters dedicated to running the Strimzi operator and serving Kafka clusters. They were also able to improve throughput dramatically by moving existing Java code to Apache Camel with vertx driver. 

OpenLogic created metrics with Prometheus and Grafana in both the Camel websocket relay application and the Kafka brokers to determine replication and processing lag, and put monitoring in place to alert on topics that didn’t meet SLAs. Once metrics collection with Grafana and Prometheus were put in place, existing bottlenecks became identifiable and addressing them drastically improved end-to-end performance.

Length of Engagement: 3 days 

Case Study #4: Global Financial Services Company

Background: Customer came to OpenLogic with a security concern with Kafka Connect that violated PCI compliance as well as internal security standards.

The Issue: Sensitive information was included in stack traces with Kafka Connect.

The Solution: OpenLogic created a test harness, which was sanitized so that customer information was not present, that reproduced the bug. They filed a bug against the project and attached the test harness – and wrote the code that resolved the bug. OpenLogic then submitted the code to the community and worked with community to modify the PR to meet the community’s standards. Finally, they informed the customer when the bug was accepted and estimated which release was likely to include the fix for it. As a result, this K.I.P. was produced from the engagement.

Length of Engagement: 20 days 

Final Thoughts

Apache Kafka is an extremely powerful event streaming platform, but when things go wrong, they go wrong at scale. These Kafka case studies illustrate the benefits of having direct access to Enterprise Architects with deep Kafka expertise in those moments when every minute counts. 

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Perforce
The best run DevOps teams in the world choose Perforce. Perforce products are purpose-built to develop, build and maintain high-stakes applications. Companies can finally manage complexity, achieve speed without compromise, improve security and compliance, and run their DevOps toolchains with full integrity. With a global footprint spanning more than 80 countries and including over 75% of the Fortune 100, Perforce is trusted by the world’s leading brands to deliver solutions to even the toughest challenges. Accelerate technology delivery, with no shortcuts.

What is Data Gravity?

If you have ever wondered why data keeps growing and creating big data, there’s a simple and familiar concept behind it. As organizations grow, amassing vast amounts of data, the amount of data in their repository keeps growing, creating an ever-increasing repository of information.

This has to do with how large data attracts more data, applications, and services, increasing in size over time. This phenomenon is called data gravity. Since data gravity is unstoppable, it’s crucial to understand what it is and how to manage and optimize it.

This article explores the concept of data gravity, its effect on organizations, and how to manage it to help you use it to your benefit.

What is the Definition of Data Gravity?

Data gravity is very similar to the physical gravity you are used to. It refers to how big data attracts applications, services, and more data, leading to a snowball effect that quickly increases data size. According to Newton’s law of gravity, the earth attracts other smaller objects to it. Similarly, large data sets attract applications, services, and other data.

Typically, the larger the data set, the more data it attracts, creating a gravitational pull that keeps the data pool close by. This concept applies not only to data in physical proximity to big data but also to the digital realm, that is, data in cloud storage. Examples of data gravity are data warehouses and data lakes.

Consider a business keeping vast volumes of consumer data in a data warehouse. The warehouse expands in complexity and scale as it gathers and analyses increasing volumes of data.

This expansion will draw new uses and services, including customer relationship management (CRM), which is applied for more thorough consumer analysis. This analysis also draws in more data, creating a continuous cycle of data growth over time.

History of Data Gravity

The history of data gravity is relatively close. The term was first introduced in a 2010 blog post by Dave McCory, who was a software engineer at GE Digital. When explaining the concept of data gravity, he used the analogy of physical gravity to explain how large datasets attract IT systems, like how a planet’s gravitational pull attracts objects around it. For example, the moon orbits around the Earth because of gravity. So, similarly, large data, which in this case are applications and services, is like the Earth, attracting the moon.

David McCory also explains in another blog post that data gravity doesn’t only occur naturally; external forces like costs, specialization, and legislative can indirectly influence data gravity. This is called artificial data gravity. He gives an example of AWS S3 that allows unlimited transfer inbound traffic for free. This free unlimited transfer encourages users to gather data, leading to artificial data gravity because it is externally influenced.

Effects of Data Gravity

Data gravity has both positive and negative effects on organizations. Being aware of both sides can help you manage data gravity effectively.

Pros of Data Gravity

The perks include:

  • Centralized Data Management: Data gravity allows organizations to manage data in a centralized data hub, making it easier to manage data across multiple applications and departments.
  • Improved Data Integrity: Centralized data management reduces the risk of data inconsistencies by helping an organization manage its data from one location. Thus, they can monitor data and ensure it is up-to-date and accurate.
  • Better Data Utilization: Big data enables organizations to utilize data effectively. For example, the availability of more data provides more information when performing data analysis.

Cons of Data Gravity

Some major disadvantages are:

  • Scalability Problem: As the size of the data increases, organizations could face scalability issues. Due to the large data size, migrating to better resources or another platform could be uneconomical. This can lead to vendor lock-in as the organization will find it difficult to switch to another platform. Thus, you may become solely dependent on a single provider.
  • Latency: Organizations can face the issue of latency if the applications and services are far from the large data set. If the distance between where data is stored and processed is significant, this distance causes latency, crippling performance. To reduce latency, it’s best to ensure that the data and the gravitating applications and services are close or co-located.
  • Higher Costs: Another problem data gravity poses is the higher cost involved. For example, organizations may need to acquire new storage tools and applications, which could significantly increase data management costs.

Managing Data Gravity

Big data can be overwhelming, so managing data gravity is crucial to ensure that you take advantage of its benefits. Below are some ways to manage your growing data:

  • Cloud-Based Solutions

Opting for cloud storage offers a scalable and flexible solution, enabling organizations to manage large data sets better. Also, cloud services reduce the complexity of data management by making data accessible across different devices and departments. However, storing all data on the cloud is not always possible. So, organizations that need on-premise storage systems should opt for scalable systems that reduce latency. One such solution is hyper-converged systems, which combine storage and networking in one platform, cutting down latency and ensuring effective data management.

  • Data Integration

You can take advantage of data gravity by integrating several data sources into one data hub. Although combining data to form one gigantic data set may seem ineffective, one data source means you have to contend with only one outlet instead of several, making it more organized. Doing so also makes accessing and managing data easier, leading to better performance and fewer errors.

  • Data Governance

Robust data governance policies can also help manage and utilize data gravity. These policies include data standards, access controls, and accountability measures set to ensure the smooth management of big data.

  • Decentralized Architectures

Decentralized architectures like cloud storage can also reduce the risks associated with data gravity. Since these tools don’t need a central physical location, data can be processed closer to where it is generated. As a result, latency can be reduced, and data processing times can be improved.

  • Effective Data Planning

Generally, effective data management can help prevent the risks involved in data gravity. Taking care to consider not just the current needs, but also the future data needs of an organization. Making the right decisions for your data can help manage data gravity.

The Importance of Data Backup in Data Gravity

The more data there is, the higher the risk of corruption and loss. In the event of a data disaster, an organization will lose a large amount of data created by gravity. Thus, it’s crucial to implement robust backup solutions that will protect against data loss during disasters.

However, the biggest problem with data backup in such an environment is not its size. Data attracts new applications or services, which often decentralize data processing, creating new data sources. Therefore, without versatility, data protection can focus only on selected silos, ignoring new data sources. In such a case, we may: 1) consciously not expand the ecosystem with modern tools, 2) agree that some data will not be secured, 3) or implement an additional tool to secure modern workloads, which will only complicate the data management process and may negatively impact their consistency.

No. 4 is, of course, replacing the backup tool with Storware Backup and Recovery, which supports protection for virtual, physical, and cloud data and allows integration with enterprise-class backup devices, expanding their data protection capabilities with new sources.

Also, modern data backup facilitates data mobility by moving data to a different site, reducing the effect of data gravity. Data gravity could easily make data heavy and difficult to move around, but with backup systems, you can reduce the load through regular backup that provides bits of data available for a period. Thus, it’s crucial to prioritize data backup as data pulls more data, application, and services, increasing its bulk.

Conclusion

Like physical gravity, data gravity is inevitable, and unfortunately, if not well managed, it can lead to negative consequences like latency, high cost of operation, and scalability issues. Hence, organizations need to understand how it works, how best to manage it and how to use it to their advantage. Data gravity can lead to better data utilization, centralized data management, and improved data integrity. By following our guide on managing data gravity, you can harness these perks and ensure they work to your advantage.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Storware
Storware is a backup software producer with over 10 years of experience in the backup world. Storware Backup and Recovery is an enterprise-grade, agent-less solution that caters to various data environments. It supports virtual machines, containers, storage providers, Microsoft 365, and applications running on-premises or in the cloud. Thanks to its small footprint, seamless integration into your existing IT infrastructure, storage, or enterprise backup providers is effortless.

MDM for MSPs: A Strategic Approach to Managing Client Devices

Businesses across various industries face a common challenge: managing their IT infrastructure effectively while focusing on core operations.

This challenge is particularly pronounced in the healthcare, finance, education, and retail industries, where reliable IT support can be scarce and budget-tight and work environments increasingly dispersed.

MDM for MSP
Mobile Device Management for MSPs

That’s where Managed Service Providers, or MSPs, come into the picture. They provide various IT and IT management services, with Mobile Device Management (MDM) being a key offering among them. MDM for MSPs isn’t just about keeping devices secure and up-to-date; it’s about empowering businesses to walk through compliance requirements, and data security confidently.

For example, consider a healthcare provider managing patient data across multiple devices, a financial institution safeguarding client information with security measures, or a retail operation maintaining smooth transactions and customer interactions. All of this is possible thanks to MSPs’ strategic approach to managing client devices. 

In this blog, we will discuss the pivotal role of MDM service providers for MSPs. We will explore how MSPs leverage MDM solutions to streamline operations, improve security protocols, and support businesses in achieving their goals without the burden of IT complexities.

Common Challenges in Device Management: Need for MSP-driven MDM

1. Device Diversity and Compatibility Issues

MSPs often deal with a wide range of client devices across different operating systems, versions, and configurations. Seamlessly integrating these diverse devices into a unified management framework can be challenging and time-consuming.

2. Security Threats and Data Breaches

With the proliferation of cyber threats, MSPs must safeguard client devices from malware, phishing attacks, and other security vulnerabilities. Data breaches can have severe consequences, including legal liabilities and damage to client trust, making security measures a top priority.

3. Manual Device Management Complexities

Traditional, manual methods of managing devices are inefficient and prone to errors. MSPs struggle with the time and effort required to manually configure, update, and troubleshoot devices across multiple clients and locations.

4. Inefficient Troubleshooting and Support Processes

Resolving device issues remotely or on-site can be challenging due to limited visibility into device performance and user behavior. MSPs need streamlined processes and tools for proactive monitoring, quick diagnostics, and responsive support to minimize downtime and client disruption.

Strategic Approach to Managing Client Devices

1. Needs Assessment and Client Consultation

To effectively support clients, MSPs should begin by conducting thorough assessments of their IT environments and consulting closely with businesses to identify precise needs and pain points. This process involves analyzing existing device setups, evaluating security requirements, and understanding industry-specific compliance mandates. 

With the help of a suited MDM solution, MSPs ensure their services align perfectly with client goals, enhancing operational effectiveness and security while addressing the challenges unique to each organization. This personalized approach increases client satisfaction and lays the groundwork for long-term, strategic IT management partnerships.

2. Selection of the Right MDM Solution

When selecting the ideal MDM solution for clients, MSPs should undertake a rigorous evaluation process. This involves comparing various MDM options based on their features, scalability, security protocols, and compatibility with client devices. MSPs should consider whether a cloud-based or on-premise MDM solution best suits the client’s preferences and existing infrastructure. 

Also, it is important to emphasize choosing solutions equipped with reporting, analytics tools, and remote management capabilities. This strategic selection ensures the chosen MDM solution meets immediate needs and supports long-term scalability.

3. Customization and Configuration

MSPs must focus on customization and configuration when implementing MDM solutions. This approach helps ensure alignment with client-specific policies, compliance requirements, and security protocols. By meticulously configuring device policies, user roles, and access controls, MSPs can guarantee secure and efficient device management.

Implementing automated workflows for tasks such as device provisioning, updates, and compliance checks is essential to streamlining operations and enhancing overall IT management effectiveness for clients. This strategic approach strengthens security measures and cultivates a digital environment that meets each client’s precise operational needs.

4. Device Enrollment and Provisioning

For effective device management, MSPs should implement streamlined enrollment processes to quickly onboard client devices, including those in BYOD (Bring Your Own Device) scenarios. 

Utilizing zero-touch provisioning and automated configuration, which includes OOB (Out-of-the-box)  setups, is essential to minimize manual effort and accelerate deployment times. It is important to ensure all devices are properly enrolled and configured before being handed over to end users. 

5. Security Management

MSPs need to deploy comprehensive security measures, including encryption, remote wipe capabilities, and secure access controls, to protect client devices. Regular updates to security policies are important to address emerging threats. 

Real-time device security monitoring and swift responses to potential breaches or vulnerabilities are vital for continuous protection and client trust. This proactive approach to security management helps safeguard sensitive data and strengthen the overall IT infrastructure.

6. Continuous Monitoring and Support

MSPs need to establish continuous monitoring practices to track device performance, usage patterns, and compliance. Providing proactive support through remote troubleshooting, automated alerts, and quick resolution of issues is essential for maintaining optimal device functionality. 

Maintaining open communication channels with clients for ongoing feedback and support ensures their needs are met promptly and effectively, developing a strong, collaborative relationship.

7. Reporting and Analytics

MSPs must utilize the reporting and analytics features of an MDM solution to generate detailed insights into device usage, compliance, and performance. Sharing regular reports with clients demonstrates the value of MDM and highlights areas for improvement. 

Leveraging analytics to identify trends helps optimize device management strategies and overall service delivery. This data-driven approach ensures MSPs can continuously improve their services and better meet their clients’ needs.

8. Strategic Partnerships and Collaboration

MSPs need to form strategic partnerships with leading MDM providers to access the latest technologies and support. Collaborating with clients for solutions that align with their long-term goals and objectives ensures the services provided are relevant and effective. 

By developing a collaborative relationship, MSPs can position themselves as trusted advisors in device management, enhancing client trust and satisfaction. This approach improves service quality and strengthens the overall client-MSP partnership.

MDM: Essential for MSP Success

Corporate mobile device management is crucial for the security, efficiency, and compliance of client devices. MDM empowers MSPs to address challenges such as device diversity, security threats, and manual management complexities. By adopting a strategic approach to MDM, MSPs can deliver solutions that can improve client operations and satisfaction.

MSPs should explore comprehensive MDM solutions like Scalefusion to stay ahead of evolving IT demands. Scalefusion offers advanced features such as remote troubleshooting, automated updates, and robust security protocols, enabling MSPs to efficiently manage diverse client device environments.

Schedule a demo with our experts and start a 14-day free trial to experience the full benefits firsthand!

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Scalefusion
Scalefusion’s company DNA is built on the foundation of providing world-class customer service and making endpoint management simple and effortless for businesses globally. We prioritize the needs and feedback of our customers, making sure that they are at the forefront of all decision-making processes. We are dedicated to providing comprehensive customer support services, and place emphasis on customer-centric thinking throughout the organization.