Management command to edit or create a Broker topic
Classes:
|
Django command to migrate the database. |
- class dasf_broker.management.commands.dasf_topic.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommandDjango command to migrate the database.
Methods:
add_arguments(parser)Add connection arguments to the parser.
handle(topic_slug, *args[, new, public, ...])Migrate the database.
Attributes:
- add_arguments(parser)
Add connection arguments to the parser.
- handle(topic_slug: str, *args, new: bool = False, public: bool | None = None, supports_dasf: bool | None = None, store_messages: Literal['default', 'disabled', 'cache', 'cacheall', 'store'] | None = None, anonymous: bool = False, consumer: str | None = None, producer: str | None = None, view_status: str | None = None, create_consumer: bool = False, create_producer: bool = False, create_view_status: bool = False, remove_permissions: bool = False, show_info: bool = False, database: str = 'default', **options)
Migrate the database.
- help = 'Create or update a broker topic.'