Apache Kafka
Apache Kafka is a distributed event streaming platform. Connect to an Apache Kafka real-time processing server to write and to read Streams of events from and into topics.
watsonx.data on Red Hat® OpenShift®
watsonx.data Developer edition
Apache Kafka
Configure the following details for Apache Kafka:
| Field | Description |
|---|---|
| Display name | Enter the database name to be displayed on the screen. |
| Hostname | Enter the Hostname. You can add multiple host information. To add, click the Add icon. A new row appears for adding the hostname and port number. Enter the details. |
| Port | Enter the Port number. |
| SASL connection | Use the toggle switch to enable or disable the Simple Authentication Security Layer (SASL) to
include an authentication mechanism. If enabled,
|
| Test connection | Click the Test connection link to test the database connection. If the database connection is successful, a success message appears. |
| Catalog name | Enter the name of the catalog. This catalog is automatically associated with your database. |
| Add topics | You can add topics after you create the database. i. Go to the Infrastructure manager. ii. Select the Apache Kafka database. iii. Click Add topics option. iv. Upload .json definition files. You can either drag the files or use the Click to upload option. Topic names are determined from the definition files. v. Use the Edit option to view and edit the topic files. |
| Create | Click Create to create the database. |
Limitations for SQL statements
- For the database-based catalogs,
CREATE SCHEMA,CREATE TABLE,DROP SCHEMA,DROP TABLE,DELETE,DROP VIEW,ALTER TABLE, andALTER SCHEMAstatements are not available in the Data manager UI.
Limitations for data types
- When the fields of data type
REALhave 6 digits or more in the decimal part with the digits being predominately zero, the values when queried are rounded off. It is observed that the rounding off occurs differently based on the precision of the values. For example, a decimal number 1.654 when rounded to 3-digits after the decimal point are the same. Another example is 10.890009 and 10.89000. It is noticed that 10.89000 is rounded to 10.89, whereas 10.89009 is not rounded off. This is an inherent issue because of the representational limitations of binary floating point formats. This might have a significant impact when querying involves sorting