[ 
https://issues.apache.org/jira/browse/BEAM-12611?focusedWorklogId=622360&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-622360
 ]

ASF GitHub Bot logged work on BEAM-12611:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jul/21 03:38
            Start Date: 14/Jul/21 03:38
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #15166:
URL: https://github.com/apache/beam/pull/15166#discussion_r669255290



##########
File path: 
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/logging/BeamFnLoggingMDC.java
##########
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.fn.harness.logging;
+
+/** Mapped diagnostic context to be consumed and set on LogEntry protos in 
BeamFnLoggingClient. */
+@SuppressWarnings({
+  "nullness" // TODO(https://issues.apache.org/jira/browse/BEAM-10402)

Review comment:
       +1
   
   I believe to remove this suppression you have to tag parameters with 
`@Nullable` which can be null and methods that can return null with `@Nullable` 
as well like in 
https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java#L102




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 622360)
    Time Spent: 0.5h  (was: 20m)

> Populate instruction id in Java SDK harness log entries
> -------------------------------------------------------
>
>                 Key: BEAM-12611
>                 URL: https://issues.apache.org/jira/browse/BEAM-12611
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-harness
>            Reporter: Luke Cwik
>            Assignee: Alex Amato
>            Priority: P2
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to