Skip to content

Commit

Permalink
fix: code review comments, renaming client to consumer, modifying con…
Browse files Browse the repository at this point in the history
…f parameters to fill only with prefix params
  • Loading branch information
hlegarda committed Oct 23, 2024
1 parent 58bcf1a commit e2215d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@Configuration
public class CommonBeans {
private static final Logger log = LoggerFactory.getLogger(CommonBeans.class);
public static final String PREFIX = "apiary.messaging.consumer";
public static final String CONSUMER_PROPERTIES_PREFIX = "apiary.messaging.consumer";

@Value("${instance.name:drone-fly}")
private String instanceName;
Expand All @@ -60,7 +60,7 @@ public HiveConf hiveConf() {

@Bean
@Primary
@ConfigurationProperties(PREFIX)
@ConfigurationProperties(CONSUMER_PROPERTIES_PREFIX)
public Properties getEnvProperties() {
return new Properties();
}
Expand Down

0 comments on commit e2215d0

Please sign in to comment.