Hi,
Till now, I have only been using Flink binaries. How do I setup Flink in my IntelliJ IDE so that while running/debugging my Flink application program I can also step into the Flink source code? Do I first need to import Flink's source repository into my IDE and build it? Thanks, Piper |
Hi Piper, Welcome to Flink Community. Import flink project like any other project into IDE, only difference while running is you have click on "Include dependencies with "Provided" scope" in the main class run configurations. This bundles the Flink dependencies in the artifact, making it a fat jar and deploy it. Steps: 1. Open main class run/debug configurations 2. Click on Include dependencies with Provided scope. 3. Apply Thanks, Narasimha On Sun, Aug 30, 2020 at 11:40 PM Piper Piper <[hidden email]> wrote:
------------------------------ IMPORTANT: The contents of this email and any attachments are confidential and protected by applicable laws. If you have received this email by mistake, please (i) notify the sender immediately; (ii) delete it from your database; and (iii) do not disclose the contents to anyone or make copies thereof. Razorpay accepts no liability caused due to any inadvertent/ unintentional data transmitted through this email. ------------------------------
|
Hi Piper, to step into Flink source code, you don't need to import Flink sources manually or build Flink at all. It's enough to tell IntelliJ to also download sources for Maven dependencies. [1] Flink automatically uploads the source code for each build. For example, see the 1.11.1 artifacts of flink-runtime. [2] On Sun, Aug 30, 2020 at 8:19 PM Ardhani Narasimha Swamy <[hidden email]> wrote:
-- Arvid Heise | Senior Java Developer Follow us @VervericaData -- Join Flink Forward - The Apache Flink Conference Stream Processing | Event Driven | Real Time -- Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany -- Ververica GmbHRegistered at Amtsgericht Charlottenburg: HRB 158244 B Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji (Toni) Cheng |
Thank you, Narasimha and Arvid! On Sun, Aug 30, 2020 at 3:09 PM Arvid Heise <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |