Skip to content

Commit 77fb8b5

Browse files
committed
Revert "LocalForwarderChannel (#723)"
This reverts commit d7b87ce.
1 parent 52c0a2b commit 77fb8b5

File tree

12 files changed

+1
-1722
lines changed

12 files changed

+1
-1722
lines changed

azure-application-insights-spring-boot-starter/src/main/java/com/microsoft/applicationinsights/autoconfigure/ApplicationInsightsProperties.java

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,6 @@ static class Channel {
195195
/** Configuration of {@link InProcessTelemetryChannel}. */
196196
private InProcess inProcess = new InProcess();
197197

198-
/** Configuration of {@link com.microsoft.applicationinsights.channel.concrete.localforwarder.LocalForwarderTelemetryChannel}*/
199-
private LocalForwarder localForwarder = new LocalForwarder();
200-
201-
public LocalForwarder getLocalForwarder() {
202-
return localForwarder;
203-
}
204-
205-
public void setLocalForwarder(LocalForwarder localForwarder) {
206-
this.localForwarder = localForwarder;
207-
}
208-
209198
public InProcess getInProcess() {
210199
return inProcess;
211200
}
@@ -294,48 +283,6 @@ public void setThrottling(boolean throttling) {
294283
this.throttling = throttling;
295284
}
296285
}
297-
298-
/**
299-
* The config class to encapsulate the LocalForwarder properties.
300-
*/
301-
static class LocalForwarder {
302-
303-
/** Local Forwarder Endpoint address. */
304-
private String endpointAddress;
305-
306-
/**
307-
* Maximum count of telemetries that will be batched before sending. Must be between 1 and
308-
* 1000.
309-
*/
310-
private int maxTelemetryBufferCapacity = TelemetryChannelBase.DEFAULT_MAX_TELEMETRY_BUFFER_CAPACITY;
311-
312-
/** Interval to send telemetry. Must be between 1 and 300. */
313-
private int flushIntervalInSeconds = TelemetryChannelBase.DEFAULT_FLUSH_BUFFER_TIMEOUT_IN_SECONDS;
314-
315-
public int getMaxTelemetryBufferCapacity() {
316-
return maxTelemetryBufferCapacity;
317-
}
318-
319-
public void setMaxTelemetryBufferCapacity(int maxTelemetryBufferCapacity) {
320-
this.maxTelemetryBufferCapacity = maxTelemetryBufferCapacity;
321-
}
322-
323-
public int getFlushIntervalInSeconds() {
324-
return flushIntervalInSeconds;
325-
}
326-
327-
public void setFlushIntervalInSeconds(int flushIntervalInSeconds) {
328-
this.flushIntervalInSeconds = flushIntervalInSeconds;
329-
}
330-
331-
public String getEndpointAddress() {
332-
return endpointAddress;
333-
}
334-
335-
public void setEndpointAddress(String endpointAddress) {
336-
this.endpointAddress = endpointAddress;
337-
}
338-
}
339286
}
340287

341288
static class TelemetryProcessor {

core/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/src/main/java/com/microsoft/applicationinsights/channel/concrete/localforwarder/LocalForwarderModelTransformer.java

Lines changed: 0 additions & 354 deletions
This file was deleted.

core/src/main/java/com/microsoft/applicationinsights/channel/concrete/localforwarder/LocalForwarderTelemetriesTransmitter.java

Lines changed: 0 additions & 169 deletions
This file was deleted.

core/src/main/java/com/microsoft/applicationinsights/channel/concrete/localforwarder/LocalForwarderTelemetryChannel.java

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)