All Downloads are FREE. Search and download functionalities are using the official Maven repository.

activities.pulsar_admin_topic.yaml Maven / Gradle / Ivy

Go to download

A Pulsar driver for nosqlbench. This provides the ability to inject synthetic data into a pulsar system.

There is a newer version: 4.15.102
Show newest version
bindings:
  # 100 topics: 10 tenants, 2 namespaces/tenant, 5 topics/namespace
  tenant: Mod(100); Div(10L); ToString(); Prefix("tnt")
  namespace: Mod(10); Div(5L); ToString(); Prefix("ns")
  core_topic_name: Mod(5); ToString(); Prefix("t")

params:
  topic_uri: "persistent://{tenant}/{namespace}/{core_topic_name}"
  # "true" - asynchronous Pulsar Admin API
  # "false" - synchronous Pulsar Admin API
  async_api: "true"
  # "true" - delete topic
  # "false" - create topic
  admin_delop: "false"

blocks:
  - name: create-topic-block
    tags:
      phase: admin-topic
      admin_task: true
    statements:
      - name: s1
        optype: admin-topic
        enable_partition: "false"
        partition_num: "5"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy