All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.runtime.logging.AsyncConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.runtime.logging;

import org.jboss.logmanager.handlers.AsyncHandler.OverflowAction;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;

@ConfigGroup
public class AsyncConfig {

    /**
     * Indicates whether to log asynchronously
     */
    @ConfigItem(name = ConfigItem.PARENT)
    boolean enable;
    /**
     * The queue length to use before flushing writing
     */
    @ConfigItem(defaultValue = "512")
    int queueLength;

    /**
     * Determine whether to block the publisher (rather than drop the message) when the queue is full
     */
    @ConfigItem(defaultValue = "block")
    OverflowAction overflow;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy