-
Notifications
You must be signed in to change notification settings - Fork 45
Release of 0.7.0 Version #18
Comments
I'm working on it, but I've been a little busy. Which Configuration sub-class are you referring to? And which modules do you use? |
I am referring to
with 0.6.2 I was able to do
The advantage here is that I can use only one configuration file for storing all information. With the new way, I need to separate out the server configuration from consumer configuration and producer configuration any reason why the deviation from the dropwizard convention was introduced? |
I am using |
I see. I'm curious as to why you keep your Kafka consumer configuration outside of your main application config? The reason this changed is to bring it in line with the new idioms used in Dropwizard 0.7. You'll see a similar idiom being used in most of the upstream "Factory" classes. |
I can't put the Kafka configuration along with my application configuration
|
That's not what I meant. In Dropwizard, it's idiomatic to have a single Configuration sub-class, that composes the various things you need: public class MyConfiguration extends Configuration {
private KafkaConsumerFactory kafka = new KafkaConsumerFactory();
@JsonProperty("kafka")
public KafkaConsumerFactory getKafkaConsumerFactory() {
return kafka;
}
@JsonProperty("kafka")
public void setKafkaConsumerFactory(KafkaConsumerFactory factory) {
this.kafka = factory;
}
} public class MyApplication extends Application<MyConfiguration> {
@Override
public void run(MyConfiguration configuration, Environment environment) {
StreamProcessor myProcessor = // your StreamProcessor implementation
KafkaConsumer consumer = configuration.getKafkaConsumerFactory()
.processWith(myProcessor)
.build(environment);
}
} |
Also, FYI, the |
Hiya -- also wondering if there's any chance of a release of the 0.7.1 version? I'd like to try the project out without being stuck on dropwizard 0.6... |
So the major blocker atm is a lack of testing, though you'll notice that I'm building a number of applications off master atm, and once I have them tested and any bugs ironed out I'll cut a release for the 0.7.x series. |
Also waiting for a release of 0.7.x compatible extras - what is holding it back? Anything you want tested? I am looking into using the kafka modules at the moment.. |
I am waiting on the newer version of the kafka bundle for kafka v8.1.1. Assuming since its in the same dev branch it will be release with the rest of the 0.7.x release? Thanks! |
@nicktelford how can I help test the code so that we can get a release pushed out? |
@nicktelford can you please let us know when you can push a release out? What can I do to help? |
@nicktelford can you please respond? What can I do to help you push a release out? |
@nicktelford Can you please let me know when the new version of the plugin will be released?
Why was the Configuration subclass removed?
The text was updated successfully, but these errors were encountered: