Skip to main content

This library makes working with kafka in python easy. It simplifies the producing of records. The producer class persists fields so that the fields of a record can be retrieved in various places from within your code base.

The library that expands on the work of Confluent's kafka-python library to make an intuitive producer that simplifies coding. This producer acts as a Super Class that you can inherit all of your specific producers in your code. The implementation takes five lines of code

  • Set the KAFKA_REGISTRY_LISTENER and KAFKA_BROKER_LISTENER (2 lines of code)
  • from kp_fraydit.producers.producer import Producer
  • prod = Producer('my-topic')
  • prod.addValueArgs(myField1='test')

That is all that is needed to produce a record.

It utilizes Confluent's amazing Exact-Once Semantics(EOS) architecture. That assurance takes time, however. To speed up the library, all producer instances pool their records and then the records are parallel processed. This enhances the speed of the library while maintaining the EOS assurance. The sacrifice of this pooling loses the guarantee of order preservation. The library allows for individual producer instances to maintain a separate pool that ensures order.

The producer handles JSON and Avro schema automatically. Nested schema (Avro only) is handled. That means you can have records within records and the producer class knows how to handle that.

You can discover what fields are available, which fields are required, optional fields, specify optional fields that you want to include on each write, all from within the attributes of the producer.

https://fraydit.com

Metadata

Release files for kp-fraydit 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kp-fraydit 0.1.15
File Size Uploaded Provenance Actions
kp_fraydit-0.1.15.tar.gz 17.8 kB Without provenance Details for kp_fraydit-0.1.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kp-fraydit 0.1.15
File Interpreter ABI Platform Actions
kp_fraydit-0.1.15-py3-none-any.whl Python 3 none any Details for kp_fraydit-0.1.15-py3-none-any.whl

Total release size: 39.9 kB

Release files / kp_fraydit-0.1.15.tar.gz

Download URL kp_fraydit-0.1.15.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3b408927bacdbb8c99e12ff64ccc54e4725bc7f62542b1c25889f09113ce5fd5
BLAKE2b-256 checksum
How to use checksums
deb2f8268dc45ef7fb1db5cd09edb3615edb26a66713af55ea5550fc2333e150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

Release files / kp_fraydit-0.1.15-py3-none-any.whl

Download URL kp_fraydit-0.1.15-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb5bfd6ba347752b28ea297fa060415832f0705ccc211f0c47ec10264ac38682
BLAKE2b-256 checksum
How to use checksums
0d0b994f89a9309f1caf2179e464e4371361c6d8e0c021db3e519b75ae9b17fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

Security for kp-fraydit 0.1.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page