question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feedbacks Wanted] EmbulkEmbed / EmbulkService

See original GitHub issue

We may have a big change on EmbulkEmbed and EmbulkService for future updates. EmbulkService has been deprecated for a long time. EmbulkEmbed may be incompatibly changed (or replaced) as well.

We expect most users are using Embulk by CLI, and few users are using them. If you use EmbulkEmbed or EmbulkService, please let us know. We’d like your feedback on your actual usage to understand what is wanted on EmbulkEmbed or EmbulkService.


The best information is your actual code snippet how you build an EmbulkEmbed instance, including your own Guice modules.

Otherwise, helpful information is:

  • Do you add/override your own Guice modules?
  • When you build EmbulkEmbed, which do you call: EmbulkEmbed.Builder#initialize or EmbulkEmbed.Builder#initializeCloseable?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hito4tcommented, Oct 12, 2018

I’m using EmbulkEmbed in my Java application.

Bootstrap bootstrap = new EmbulkEmbed.Bootstrap();
bootstrap.addModules(new Module() {
    @Override
    public void configure(Binder binder) {
        InjectedPluginSource.registerPluginTo(binder, InputPlugin.class, "mysql", MySQLInputPlugin.class);
        InjectedPluginSource.registerPluginTo(binder, OutputPlugin.class, "mysql", MySQLOutputPlugin.class);
        InjectedPluginSource.registerPluginTo(binder, InputPlugin.class, "oracle", OracleInputPlugin.class);
        InjectedPluginSource.registerPluginTo(binder, OutputPlugin.class, "oracle", OracleOutputPlugin.class);
        ...
    }
});
return bootstrap.initializeCloseable();

  • EmbulkEmbed instance will be reused. Actually, I want to execute multiple EmbulkEmbed instances simultaneously for loading into multiple tables.
  • I need to receive some result value from plugin instance. Because I cannot find how to get plugin instance, I’m using a static variable for receiving the result.
0reactions
dmikurubecommented, Jan 25, 2019

From v0.9.13, we’re introducing changes that are impacting EmbulkEmbed users. Stay tuned in the release notes.

https://github.com/embulk/embulk/releases/v0.9.13 https://github.com/embulk/embulk/releases/v0.9.14

Read more comments on GitHub >

github_iconTop Results From Across the Web

usage of "EmbulkEmbed" and "EmbulkService" / "BINARY" type
Embulk has a way to be embedded in your Java program by classes of “ EmbulkEmbed ” and “ EmbulkService ”. We expect...
Read more >
usage of "EmbulkEmbed" and "EmbulkService" / "BINARY" type
Embulk has a way to be embedded in your Java program by classes of "EmbulkEmbed" and "EmbulkService". We expect most users are using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found