philippheuer / events4j Goto Github PK
View Code? Open in Web Editor NEWJava Event Dispatcher / Consumer
License: MIT License
Java Event Dispatcher / Consumer
License: MIT License
Hey, I also created an events library.
It's called Signals.
What do you think are the pros and cons of using each of our libraries.
As the title suggests.
getClientHelper().disableFollowEventListener()
getClientHelper().disableStreamEventListener()
getEventManager().unregisterListener()
Would be very helpful, thanks!
It appears that in the published jar, the logback.xml
configuration was bundled with the library which is causing warnings to appear for users of the library that have their own logback.xml
in their project.
I believe the logging configuration file is not meant to be bundled with libraries/frameworks as when there are multiple, it causes output like the following:
02:31:20,129 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
02:31:20,130 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
02:31:20,131 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/seth/Desktop/git/Elypia/alexis/out/production/resources/logback.xml]
02:31:20,132 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
02:31:20,132 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/seth/.gradle/caches/modules-2/files-2.1/com.github.philippheuer.events4j/events4j-core/0.7.1/8641137a06460aa6ea84c548e44a099e190f95b5/events4j-core-0.7.1.jar!/logback.xml]
02:31:20,132 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/home/seth/Desktop/git/Elypia/alexis/out/production/resources/logback.xml]
02:31:20,268 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
02:31:20,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com] to WARN
02:31:20,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.netflix.config.sources.URLConfigurationSource] to ERROR
02:31:20,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net] to WARN
02:31:20,276 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to WARN
02:31:20,277 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss] to WARN
02:31:20,277 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [reactor] to WARN
02:31:20,277 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
02:31:20,281 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
02:31:20,291 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
02:31:20,640 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
02:31:20,640 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
02:31:20,644 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
02:31:20,645 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@68267da0 - Registering current configuration as safe fallback point
Example problem occurring with another repo:
bonigarcia/webdrivermanager#181
Please, DO NOT include the logback.xml into the final Jar file, it will cause multiple logback.xml files in the classpath, if someone is using your Jar, you may override other’s logging configurations accidentally.
Also, if this is changed so that the list is written to, it should be surrounded by a synchronized wrapper or switched to a concurrent implementation
This issue provides visibility into Renovate updates and their statuses. Learn more
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
settings.gradle.kts
build.gradle.kts
io.freefair.lombok 6.4.3
org.slf4j:slf4j-api 1.7.36
org.junit.jupiter:junit-jupiter-api 5.8.2
org.junit.jupiter:junit-jupiter-engine 5.8.2
api/build.gradle.kts
buildSrc/build.gradle.kts
core/build.gradle.kts
handler-reactor/build.gradle.kts
io.projectreactor:reactor-core 3.4.18
io.projectreactor.addons:reactor-extra 3.4.8
io.projectreactor:reactor-test 3.4.18
handler-simple/build.gradle.kts
handler-spring/build.gradle.kts
org.springframework.boot:spring-boot-starter 2.6.7
kotlin/build.gradle.kts
org.jetbrains.kotlin.jvm 1.6.21
org.jetbrains.dokka 1.6.21
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.6.1
org.jetbrains.kotlinx:kotlinx-coroutines-test 1.6.1
gradle/wrapper/gradle-wrapper.properties
gradle 7.4.2
Hello,
As stated here: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Bintray will stop satisfying requests as they will be shutting down their services by the first of May.
I noticed this as your bintray resource already shoots a 403.
Maybe you could switch to another hosting solution and provide that as the new maven / gradle repo?
I would really appreciate it as i luckily had a copy of twitch4j on my harddrive but i never used events4j so i tried pulling it with maven, which.. didnt work as i said earlier and therefore i have to compile it from source now.
I suggest doing what i just wrote not only for this, but every single one of your project using BinTray, JCenter, GoCenter or ChartCenter as repo hosting.
Have a pleasant day,
kek5chen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.