Skip to content

Commit

Permalink
feat: kafka properties (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
masaimu authored Apr 26, 2024
1 parent 518a92b commit b2669a9
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright 2022 Holoinsight Project Authors. Licensed under Apache-2.0.
*/
package io.holoinsight.server.common.config;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
* @author masaimu
* @version 2024-04-26 16:25:00
*/
@ConfigurationProperties(prefix = "holoinsight.kafka")
@Data
public class KafkaProperties {
/**
* kafka bootstrap servers
*/
private String kafkaBootstrapServers = StringUtils.EMPTY;
/**
* agg executor consumer group
*/
private String consumerGroupId = "x1";

private boolean enable = false;
}

0 comments on commit b2669a9

Please sign in to comment.