HPE Data Fabric Streams Python Applications

As of HPE Data Fabric 5.2.1, you can create python applications for HPE Data Fabric Streams using the HPE Data Fabric Streams Python client. The HPE Data Fabric Streams Python client is a binding for librdkafka and the HPE Data Fabric Streams C Client is a distribution of librdkafka that works with HPE Data Fabric Streams.

The HPE Data Fabric Streams Python client is available in a Ecosystem Pack (EEP) starting with EEP 3.0.

The following Apache Kafka librdkafka versions are supported:
Table 1. Supported Apache Kafka librdkafka versions
Core release EEP Release Kafka librdkafka version
As of HPE Data Fabric 7.10.0 As of 9.4.0 2.6.0
As of HPE Data Fabric 7.9.0 As of 9.3.1 2.0.2*
As of HPE Data Fabric 6.0.1 As of 5.0 0.11.3
As of HPE Data Fabric 5.2.1 through 6.0.0 As of 3.0 0.9.0

*Librdkafka 2.0.2 in core 7.9 is not compatible with HPE Data Fabric Stream clients for Python or C# applications. Nodes running Python or C# applications should not be upgraded to HPE Data Fabric 7.9.

NOTE
Because the HPE Data Fabric Streams Python Client is dependent on the HPE Data Fabric Streams C Client, the HPE Data Fabric Streams C Client must be configured before using the HPE Data Fabric Streams Python Client.
When developing and running HPE Data Fabric Streams Python applications, note the following points:
  • You can create producers and high-level consumers. Low-level consumers are not supported.
  • Consuming or producing topics in a Kafka cluster is not supported.
  • HPE Data Fabric Streams offset values start at 1, not 0.
  • HPE Data Fabric security is supported including ACLs and ACEs for authorization. The unique Kafka security features that are part of Apache Kafka are not supported. See Security for more information about HPE Data Fabric security features.
  • User impersonation is not supported.

Synchronous Consumer Partition Assignment

See Synchronous Consumer Partition Assignment for Streams