Thank you, Narasimha and Arvid!

On Sun, Aug 30, 2020 at 3:09 PM Arvid Heise <ar...@ververica.com> wrote:

> 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]
>
> [1]
> https://intellij-support.jetbrains.com/hc/en-us/community/posts/206834305-Automatically-download-sources-documentation-from-maven-working-great
> [2]
> https://repo1.maven.org/maven2/org/apache/flink/flink-runtime_2.11/1.11.1/
>
> On Sun, Aug 30, 2020 at 8:19 PM Ardhani Narasimha Swamy <
> ardhani.narasi...@razorpay.com> wrote:
>
>> 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 <piperfl...@gmail.com>
>> wrote:
>>
>>> 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
>>>
>>
>>
>> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> *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.
>>
>> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>
>
> --
>
> Arvid Heise | Senior Java Developer
>
> <https://www.ververica.com/>
>
> Follow us @VervericaData
>
> --
>
> Join Flink Forward <https://flink-forward.org/> - The Apache Flink
> Conference
>
> Stream Processing | Event Driven | Real Time
>
> --
>
> Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany
>
> --
> Ververica GmbH
> Registered at Amtsgericht Charlottenburg: HRB 158244 B
> Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji
> (Toni) Cheng
>

Reply via email to