<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hajdi Cenan, Author at ShiftMag</title>
	<atom:link href="https://shiftmag.dev/author/hajdi-cenan/feed/" rel="self" type="application/rss+xml" />
	<link>https://shiftmag.dev/author/hajdi-cenan/</link>
	<description>Insightful engineering content &#38; community</description>
	<lastBuildDate>Sun, 01 Oct 2023 11:57:30 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://shiftmag.dev/wp-content/uploads/2026/09/cropped-Shift-32x32.webp</url>
	<title>Hajdi Cenan, Author at ShiftMag</title>
	<link>https://shiftmag.dev/author/hajdi-cenan/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>We built a Python framework bridging the gap between AI and streaming platforms</title>
		<link>https://shiftmag.dev/fast-stream-python-framework-1646/</link>
		
		<dc:creator><![CDATA[Hajdi Cenan]]></dc:creator>
		<pubDate>Fri, 29 Sep 2023 17:04:25 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[code generation]]></category>
		<category><![CDATA[data streaming]]></category>
		<category><![CDATA[Kafka]]></category>
		<category><![CDATA[microservices]]></category>
		<category><![CDATA[Python framework]]></category>
		<guid isPermaLink="false">https://shiftmag.dev/?p=1646</guid>

					<description><![CDATA[<p>We wanted to develop a framework that would make it easy to develop scalable and robust streaming microservices in Python.</p>
<p>The post <a href="https://shiftmag.dev/fast-stream-python-framework-1646/">We built a Python framework bridging the gap between AI and streaming platforms</a> appeared first on <a href="https://shiftmag.dev">ShiftMag</a>.</p>
]]></description>
										<content:encoded><![CDATA[<figure class="wp-block-post-featured-image"><img fetchpriority="high" decoding="async" width="1200" height="630" src="https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream.png?x32039" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" style="object-fit:cover;" srcset="https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream.png 1200w, https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-300x158.png 300w, https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-1024x538.png 1024w, https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-768x403.png 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></figure>


<p class="wp-block-paragraph">We are a small AI startup, and we&#8217;ve learned that it’s (relatively) easy to do pilot projects when you are small, as you can get away with your solutions not being on an enterprise level. But once you have to go to production, it’s a whole new ballgame. That&#8217;s how we got to create <strong>FastStream</strong>. </p>



<p class="wp-block-paragraph">It all started with our work on pilot projects with several large enterprise clients. We quickly realized that the key to a successful transition to production was <strong>seamless integration between our predictive models and existing streaming platforms.</strong></p>



<p class="wp-block-paragraph">However, we faced a challenge. </p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Java</strong> is the dominant language in the <strong>streaming ecosystem</strong>, while <strong>Python is the king of AI.</strong> This made it difficult to bridge the gap between the two worlds. </p>
</blockquote>



<p class="wp-block-paragraph">We looked for an existing tool but couldn’t find anything that fit our needs besides Faust, which is deprecated and not something we can rely on, not when working with large companies.</p>



<p class="wp-block-paragraph">That&#8217;s when we decided to create <strong><a href="https://faststream.airt.ai/0.1/#install" target="_blank" rel="noreferrer noopener">FastStream</a></strong>. We wanted to develop a framework that would make it easy to <strong>develop scalable and robust streaming microservices in Python</strong>, with the added benefit of <strong>automated code generation</strong> and predictive models.</p>



<h2 class="wp-block-heading"><span id="from-fastkafka-to-faststream">From FastKafka to FastStream</span></h2>



<p class="wp-block-paragraph">We started by calling it FastKafka, thinking we’d only use it internally and just for Kafka, but then decided to release it as an open-source, purely as a tool that might help someone else. Well, soon, we realized that it needed to be <strong>more than just a Kafka wrapper.</strong> </p>



<p class="wp-block-paragraph">The response of the community took us by surprise. We quickly crossed 500 stars on GitHub, but more importantly, we received valuable input in terms of feature requests, suggestions, and feedback from seasoned enterprise developers.</p>



<p class="wp-block-paragraph">One of our key collaborators was <strong>Nikita Pastukhov</strong>, the author of the Propan framework. Nikita contributed his expertise to merge the best features of Propan and FastKafka into a single, unified framework — FastStream.</p>



<p class="wp-block-paragraph">This collaborative approach helped us to create a robust and fully extendable API that supports not only Kafka but also other key streaming protocols.</p>



<h2 class="wp-block-heading"><span id="generate-an-application-from-a-short-textual-description">Generate an application from a short textual description</span></h2>



<p class="wp-block-paragraph">FastStream is not just about simplifying the codebase. Its architecture <strong>supports automatic code generation</strong> because we designed it with speed, scalability, and maintainability in mind. Namely, code generation is, in terms of time, a small part of the development; much more time is spent on the specification, creation of documentation, and testing. </p>



<figure class="wp-block-image size-full"><img decoding="async" width="512" height="198" src="https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-code.png?x32039" alt="" class="wp-image-1655" srcset="https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-code.png 512w, https://shiftmag.dev/wp-content/uploads/2023/09/fast-stream-code-300x116.png 300w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p class="wp-block-paragraph">In our case, we have automated the whole process, whose result is a specified, documented, and tested microservice. In other words, our first prototype can <strong>generate an entire application</strong> — complete with unit and integration tests — <strong>from just a short textual description</strong> of the requirements but at the level of quality expected in large companies. </p>



<p class="wp-block-paragraph">It is absolutely mindblowing that a task that would normally take several hours, sometimes even days, for a single developer now takes about one minute.</p>



<p class="wp-block-paragraph">All this also enables seamless integration of our predictive models and future-proof microservices by allowing real-time data predictions.</p>
<p>The post <a href="https://shiftmag.dev/fast-stream-python-framework-1646/">We built a Python framework bridging the gap between AI and streaming platforms</a> appeared first on <a href="https://shiftmag.dev">ShiftMag</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: shiftmag.dev @ 2026-09-20 22:09:38 by W3 Total Cache
-->