What is Kafka?
Apache Kafka is an open source distributed streaming platform designed for building real-time data pipelines and streaming applications.
Kafka operates as a ๐ฑ๐ถ๐๐๐ฟ๐ถ๐ฏ๐๐๐ฒ๐ฑ ๐ฝ๐๐ฏ-๐๐๐ฏ ๐บ๐ฒ๐๐๐ฎ๐ด๐ถ๐ป๐ด ๐๐๐๐๐ฒ๐บ. Allowing applications to publish and subscribe to real-time or near-real-time data feeds. The ๐ต๐ถ๐ด๐ต ๐๐ต๐ฟ๐ผ๐๐ด๐ต๐ฝ๐๐, ๐๐ฐ๐ฎ๐น๐ฎ๐ฏ๐ถ๐น๐ถ๐๐, ๐ณ๐ฎ๐๐น๐-๐๐ผ๐น๐ฒ๐ฟ๐ฎ๐ป๐ฐ๐ฒ, ๐ฑ๐๐ฟ๐ฎ๐ฏ๐ถ๐น๐ถ๐๐, and ๐ฒ๐ฐ๐ผ๐๐๐๐๐ฒ๐บ ๐๐ฎ๐ณ๐ธ๐ฎ ๐ฝ๐ฟ๐ผ๐๐ถ๐ฑ๐ฒ๐ have made it a very ๐ฝ๐ผ๐ฝ๐๐น๐ฎ๐ฟ ๐ฐ๐ต๐ผ๐ถ๐ฐ๐ฒ ๐ณ๐ผ๐ฟ use cases where ๐ฟ๐ฒ๐ฎ๐น-๐๐ถ๐บ๐ฒ ๐ฑ๐ฎ๐๐ฎ ๐ณ๐ฒ๐ฒ๐ฑ๐ are required.
๐ง๐ต๐ฒ ๐ธ๐ฒ๐ ๐ฐ๐ผ๐บ๐ฝ๐ผ๐ป๐ฒ๐ป๐๐ ๐ผ๐ณ ๐๐ฎ๐ณ๐ธ๐ฎ ๐ถ๐ป๐ฐ๐น๐๐ฑ๐ฒ:
๐ธ ๐ฃ๐ฟ๐ผ๐ฑ๐๐ฐ๐ฒ๐ฟ
Producers publish (write) messages to a Kafka topic.
๐ธ ๐๐ผ๐ป๐๐๐บ๐ฒ๐ฟ
Consumers/subscribers subscribe to topics and process (read) the feed of published messages.
๐ธ ๐๐ฟ๐ผ๐ธ๐ฒ๐ฟ
Brokers are Kafka servers that store data and serve clients. Multiple brokers form a cluster.
๐ธ ๐ง๐ผ๐ฝ๐ถ๐ฐ
Topics are a feed name or message category to which messages are published by producers.
๐ธ ๐ฃ๐ฎ๐ฟ๐๐ถ๐๐ถ๐ผ๐ป
Messages are organized into topics, which can then be further divided into partitions. This increases parallelism and scalability allowing consumers to read different partitions at the same time.
๐๐ฎ๐ณ๐ธ๐ฎ ๐ฐ๐ฎ๐ป ๐ฏ๐ฒ ๐๐๐ฒ๐ฑ ๐ณ๐ผ๐ฟ ๐บ๐ฎ๐ป๐ ๐๐๐ฒ ๐ฐ๐ฎ๐๐ฒ๐. A few of the more common ๐๐๐ฒ ๐ฐ๐ฎ๐๐ฒ๐ ๐ถ๐ป๐ฐ๐น๐๐ฑ๐ฒ:
๐น ๐๐ด๐ด๐ฟ๐ฒ๐ด๐ฎ๐๐ถ๐ป๐ด ๐ฑ๐ฎ๐๐ฎ ๐ณ๐ฟ๐ผ๐บ ๐ฑ๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ ๐๐ผ๐๐ฟ๐ฐ๐ฒ๐: Whether it's ETL pipelines, data lakes, or log aggregation; ingesting, organizing, transforming, and distributing data are core functions of Kafka.
๐น ๐ฆ๐๐ฟ๐ฒ๐ฎ๐บ ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐๐ถ๐ป๐ด: Kafka can be used to build real-time analytics applications.
๐น ๐๐๐ฒ๐ป๐ ๐ฝ๐ฟ๐ผ๐ฐ๐ฒ๐๐๐ถ๐ป๐ด: systems or applications that rely on processing events in real-time such as IoT devices.
๐น ๐ ๐ผ๐ป๐ถ๐๐ผ๐ฟ๐ถ๐ป๐ด: Kafka is well suited for storing logs and metrics, allowing for real-time monitoring and alerts.
Designed for fault tolerance, high throughput, durability, and scalability, Kafka serves as an intermediary service for handling large data. While Kafka provides many advantages for building real-time data pipelines and streaming applications, it's not without its drawbacks. The most noteworthy being the layers of complexity it adds to the system architecture. In saying that, if real-time data feed is required, Kafka is a popular choice.
I've been building microservice systems for 10 years. Here's the biggest lesson I've learned (painfully, so you don't have to!). It has nothing (in essence) to do with the old microservices v. monolith debate.
Did you miss my new keynote on Product Thinking at #Agile2022? Well it's now online!
I wrote this as a follow up to Escaping the Build Trap, and what I've seen happening lately as more companies are maturing in #prodmgmt. Tell me what you think!
vimeo.com/737906332
A few software engineering practices which many teams will also consider "best practices."
What other useful engineering practices would you mention?
(Yes, getting back to working on @EngGuidebook!)
Satirical emulation of an 8080 microprocessor using a containerised microservices-based architecture running on Kubernetes with frontends for a CP/M test harness blog.davetcode.co.uk/post/21st-centโฆ
Writing is an increasingly important skill in tech. Poor writing can hamper career progression, above a certain level.
I wrote about tactics for more clear, more frequent, and more confident writing. Read it here:
blog.pragmaticengineer.com/becoming-a-betโฆ
Bloomberg announced today that its Data License content is now available on AWS, enabling clients globally to receive content cloud-natively and dramatically reducing data on-boarding time. bloom.bg/3GuObug
Pleased to announce that Bloomberg has won Best Buy-Side Regulatory Data Solution Provider at A-Team Group's RegTech Insight Awards USA. @RegTechInsightbloom.bg/32R6aN6
Terminology in the #API space can be a bit confusing. This is why @JRyanAPI of @Axway helps with "API Terminology Explained: Gateways, Portals, Catalogs, Marketplaces" and walks us through these concepts and their history and perspective for the future. youtube.com/watch?v=JPkd1Cโฆ
What's the Difference Between REST and RESTful? | Nordic APIs | b.mamund.com/3vpALKl
"Below weโll be taking a closer look at the origins, and the recommended usage, of REST and RESTful." @ArtCopywriter#API360
@BarryOSullivan As well as Campbell's Law - the system being measured will distort and corrupt to game the metric - and a host of ecological fallacies set up through the KPIs and analytics used to make sense of them
1K Followers 6K FollowingDhundo Ge Ager Mulkun Mulkun,
Milny Ky Nahi Nayab Hain Hum...
Hum Sy Hy Yeh Zamana...
ุญุณุจู ุงููู ููุนู ุงููููู...
1K Followers 2K Following@NYClimEx. Former @NYClimate @BloombergDotOrg @business @nycmayorsoffice. Forever Parkie (@nycparks). || Opinions here are my own
109K Followers 299 FollowingFounder of the Housing Frame on Substack. Housing, markets, economy. Ex-@opinion. Suburban dad. The future is a policy choice.
153K Followers 241 FollowingFinancial services professionals rely on the best in data and analytics. Learn more about insights and product updates you can use to make informed decisions.
405 Followers 411 FollowingDesigner, Programmer, https://t.co/b6MnjQt30T Writer by night, https://t.co/Giq8x6necw by day, Opinionated Aussie and Scotch lover all the time @[email protected]
19K Followers 352 FollowingWe are engineers and designers, builders and makers delivering unrivaled products and services every day. We have a lot to share and a lot to learn. Join us.
693K Followers 126 FollowingThe nonprofit organization behind the Python programming language. For help with Python code: https://t.co/XDHPttz2Xv
On Mastodon: @[email protected]
10.5M Followers 104 FollowingThe first word in business news | Watch Live: https://t.co/nHEpHOAfg3 | Newsletters: https://t.co/nWaCxHTiks | Podcasts: https://t.co/096e9xMJF7
317K Followers 3K FollowingThe Twitter account that launched https://t.co/TJyCu2S5ZF. Built on @forem ๐ฑ
On Bluesky @/https://t.co/TJyCu2S5ZF
No DMs โ please email us for support!
3K Followers 1K FollowingInsight into how FIs are working to best manage data quality, lineage and governance, and the innovative practices and vendor solutions that are being employed.