getting-started-with-apache-kafka
getting-started-with-apache-kafka
KAFKA CLUSTER
Publish-Subscribe in Kafka
When a publisher publishes a message to a topic partition, the
Kafka broker appends the message to the topic partition’s physical
log. This model allows for messages to be indexed by their offset in
the message log versus a traditional approach that uses a message
ID for indexing and message lookup. In this way, it reduces
complexity, and more importantly, reduces state management
compared to other broker-based messaging systems.
PRODUCER
APP
0 1 2 3 4 5 6
Kafka Connect
Building on the simple approach and design that has made
Kafka so attractive, the Kafka Connect toolkit provides a
flexible and scalable approach to integration with other
systems. Kafka Connect defines a connector as the ingress or
egress point of data. It defines a common framework for an
integration point for third-party systems to interact with the
core Kafka messaging system.
Like Kafka, Kafka Connect is designed to provide a simple,
scalable approach to integration. It acts as a data pump into
and out of Kafka core messaging. For importing data, a source
connector is used, and for exporting data, a sink connector.
TIBCO FTL
KAFKA CLUSTER
RELATIONAL DB
KAFKA CLUSTER
The Kafka event broker treats Kafka Connect source and sink
connectors just like Kafka publishers and subscribers. The
Kafka core is not affected by how data comes in or goes out,
which keeps the broker architecture simple. The logic and
processing for a given data source or sink happens within
Kafka Connect through a special connector for the given
integration point.
Kafka Streams
Some applications require real-time stream processing on top
of Kafka’s simple publish/subscribe interface. Building stream
processing into an application adds additional complexity. The
Kafka Streams library allows developers to invoke real-time stream
processing without building it themselves. Client applications can
access functions purpose built for real-time stream processing like
data filtration, aggregation, and grouping.
The Kafka Streams interface provides client applications with
the flexibility to not only consume data natively from Kafka,
but transform it in the message flow, improving data visibility
and data access. This streaming approach opens the Kafka
message flow and provides optimizations for applications
built to provide data analytics, data monitoring, and real-time
decision-making, supporting event-driven architectures.
TIBCO solution brief | 5
Conclusion
While Apache Kafka was built for real-time data distribution, it
will not fit all the requirements of every enterprise application.
Alternatives like Apache Pulsar, Eclipse Mosquitto, and many
others may be worth investigating, especially if requirements
prioritize large scale global infrastructure where built-in
replication is needed or if native IoT/MQTT support is needed.
For more information on comparisons between Apache Kafka
and other data distribution solutions, please see the Resources
section at https://www.tibco.com/solutions/apache-kafka.
Global Headquarters TIBCO Software Inc. unlocks the potential of real-time data for making faster, smarter decisions. Our Connected
3307 Hillview Avenue Intelligence platform seamlessly connects any application or data source; intelligently unifies data for greater
Palo Alto, CA 94304 access, trust, and control; and confidently predicts outcomes in real time and at scale. Learn how solutions to our
+1 650-846-1000 TEL customers’ most critical business challenges are made possible by TIBCO at www.tibco.com.
+1 800-420-8450 ©2020, TIBCO Software Inc. All rights reserved. TIBCO and the TIBCO logo are trademarks or registered trademarks of TIBCO Software Inc. or its subsidiaries
in the United States and/or other countries. Apache, Kafka, and Pulsar are trademarks of The Apache Software Foundation in the United States and/or other
+1 650-846-1005 FAX countries. All other product and company names and marks in this document are the property of their respective owners and mentioned for identification
www.tibco.com purposes only.
16Sep2020