GitHub user thyseus added a comment to the discussion: "hook" for incoming 
message

Actually, my rust skills are not yet there; in the web-ui i would image it like:
![grafik](https://github.com/user-attachments/assets/8389623a-5c38-4585-b1cf-b563f350c74d)
and in the cli like 

```
Commands:
  stream           stream operations [aliases: s]
  topic            topic operations [aliases: t]
  partition        partition operations [aliases: p]
  hooks         hook operations [aliases: h]
```

```
hook operations

Usage: iggy hook <COMMAND>

Commands:
  create  Create a hook with given name
  delete  Delete hook with given id
  get     Get details for given hook
  list    List all hooks
  help    Print this message or the help of the given subcommand(s)
```

```
Create a hook topic with given name on given topic

Topic ID can be specified as a name or ID

Examples
iggy hook create my-first-hook my-topic "cd /path/to/my/other/project; php 
artisan execute:command {payload}"

Usage: iggy topic hook [OPTIONS] <HOOK_NAME> <TOPIC_NAME> <COMMAND_TO_EXECUTE>
```

GitHub link: 
https://github.com/apache/iggy/discussions/1641#discussioncomment-12529562

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to