Comments (4)
This is pretty easy to do and could be a callback we provide, but the way fedmsg "tersified" messages was fedora_fedmsg_meta_something_something and fedora-messaging relies on publishers to describe their messages so it'll look a bit messy during the transition since the generic terse message is just the message topic IIRC.
The callback would look something like:
def callback(message):
print(message.summary)
from fedora-messaging.
When applications define message schemas, we'll be able to define a printer callback that will print
"{} --{}".format(message.topic, message.summary)
and it'll output basically the same info.
Without message schemas, the conversion from dictionary to human-readable description is not possible (all that logic is in the fedmsg_meta_fedora_infrastructure
package).
Hopefully apps will define their message schemas soon!
from fedora-messaging.
Oh, synchronized replies, @jeremycline :-)
from fedora-messaging.
Hey! Is this something that there's still an interest in having? I could try and implement it if so!
from fedora-messaging.
Related Issues (20)
- Allow setting a delay header on a message HOT 1
- test_invalid_file failing HOT 1
- Pytest does not work on Fedora 35 HOT 3
- [packit] Invalid config
- [packit] Propose downstream failed for release 3.0.1
- [packit] Propose downstream failed for release v3.0.1
- [packit] Propose downstream failed for release 3.0.2
- [packit] Fedora Bodhi update failed to be created HOT 2
- [packit] Propose downstream failed for release v3.0.1
- [packit] Fedora Bodhi update failed to be created HOT 1
- [packit] Fedora Koji build failed to be triggered
- Does message priority needs to be explicitly set in config? HOT 2
- OpenSSL.SSL.Error: [('SSL routines', '', 'unexpected eof while reading')]
- [packit] Fedora Bodhi update failed to be created
- Define a way for consumer callbacks to have a startup and a shutdown process HOT 4
- [packit] Propose downstream failed for release v3.4.0
- Migrate to Poetry
- Use Renovate
- Dependency Dashboard
- Add an `async` function to publish messages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fedora-messaging.