package at.procon.eventhub;

import at.procon.eventhub.config.EventHubProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableConfigurationProperties(EventHubProperties.class)
@EnableScheduling
public class EventHubIngestionApplication {

    public static void main(String[] args) {
        SpringApplication.run(EventHubIngestionApplication.class, args);
    }
}
