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

io.quarkus.kafka.streams.runtime.KafkaStreamsRecorder Maven / Gradle / Ivy

There is a newer version: 3.15.0
Show newest version
package io.quarkus.kafka.streams.runtime;

import java.util.Properties;
import java.util.function.Supplier;

import org.rocksdb.RocksDB;

import io.quarkus.runtime.annotations.Recorder;

@Recorder
public class KafkaStreamsRecorder {

    public void loadRocksDb() {
        RocksDB.loadLibrary();
    }

    public Supplier kafkaStreamsSupportSupplier(Properties properties) {
        return new Supplier() {
            @Override
            public KafkaStreamsSupport get() {
                return new KafkaStreamsSupport(properties);
            }
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy