<@U7HPJNG20> there's an event example in my Kafka ...
# tornadofx
c
@Kevin there's an event example in my Kafka GUI fork. I assumed the add route function could occur off the FX Thread so I posted a background thread event when a message is added. It's caught by a controller and wrapped in a Platform.runLater(). The subscription adds it indirectly to the screen through a bound collection.
m
Interesting to hear about kafka gui! does your project open sourced? Or what gui have you forked?
k
I saw where you did that but didn’t think to apply it to this situation. I was trying to build on the work you had done, so I further refactored the LogPane to remove any controller parts. Things are starting to make sense to me, but sometimes I have to see things a few times before it clicks.
@mp It’s open source so feel free to use it however you want. I don’t actually have any kind of license on it, but I can put on Apache or MIT or whatever if you need me to (I don’t know how all that works). It’s still very much an early stage personal project at this point, but if you find it useful that would be awesome!
m
@Kevin can u share link ? tnx
k
Right now it’s just for viewing messages. I should be able to write messages fairly easily as well. I could find existing GUIs that looked at all sorts of statistics and stuff, but didn’t find anything out there that let me actually look at the messages themselves easily, hence this project
a
@Kevin I showed a dev ops guy at redbox about it and he thought it was cool! btw can I feature this on twitter?
k
Absolutely! Glad I’m not the only one finding it useful :-D
a
Awesome definitely will!