This repository has been archived on 2026-03-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2026-02-28 02:07:54 +01:00
2026-02-28 02:05:18 +01:00
2026-02-28 02:05:18 +01:00
2026-02-28 02:05:18 +01:00
2026-02-23 22:30:16 +01:00
2026-02-28 02:07:54 +01:00
2026-02-23 22:30:16 +01:00
2026-02-28 02:05:18 +01:00
2026-02-28 02:05:18 +01:00
2026-02-28 02:05:18 +01:00

jeb-server-utils

The utilities for the jeb server

Installation

You can install the library using pip:

pip install jeb-server-utils --index-url https://repo.jcloud-services.ddns.net/simple/

Usage

JEBServerUtils

The main class. It has following methods:

  • get_segment_base_timestamp: Returns the base timestamp of a segment.
  • get_topics: Returns all topics.
  • mktopic: Creates a topic.
  • rmtopic: Removes a topic.
  • mktopicpart: Creates a partition of a topic.
  • rmtopicpart: Removes a partition of a topic.
  • check_topic_exists: Checks whether a topic exists (raises an exception if not).
  • create_record: Creates a record.
  • fetch_records: Fetches records from the topic and yields them in chunks.

Topic

A topic.

Segment:

A segment.

For more details, see the function and method docstrings.

Changelog

Version 0.1.0

  • First release
S
Description
The utils for the jeb server. Warning: This library is deprecated. Use jeb-core instead.
Readme 138 KiB
Languages
Python 96.8%
Shell 3.2%