Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "splunk",
"title": "Splunk",
"description": "Publish or search for events in Splunk.",
"deprecated": false,
"deprecated": true,
"firstVersion": "2.13.0",
"label": "iot,monitoring",
"javaType": "org.apache.camel.component.splunk.SplunkComponent",
Expand Down
2 changes: 1 addition & 1 deletion components/camel-splunk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<version>4.19.0-SNAPSHOT</version>
</parent>

<name>Camel :: Splunk</name>
<name>Camel :: Splunk (deprecated)</name>
<artifactId>camel-splunk</artifactId>
<description>Camel :: Splunk component</description>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "splunk",
"title": "Splunk",
"description": "Publish or search for events in Splunk.",
"deprecated": false,
"deprecated": true,
"firstVersion": "2.13.0",
"label": "iot,monitoring",
"javaType": "org.apache.camel.component.splunk.SplunkComponent",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ components=splunk
groupId=org.apache.camel
artifactId=camel-splunk
version=4.19.0-SNAPSHOT
projectName=Camel :: Splunk
projectName=Camel :: Splunk (deprecated)
projectDescription=Camel :: Splunk component
10 changes: 8 additions & 2 deletions components/camel-splunk/src/main/docs/splunk-component.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
= Splunk Component
= Splunk Component (deprecated)
:doctitle: Splunk
:shortname: splunk
:artifactid: camel-splunk
:description: Publish or search for events in Splunk.
:since: 2.13
:supportlevel: Stable
:supportlevel: Stable-deprecated
:deprecated: *deprecated*
:tabs-sync-option:
:component-header: Both producer and consumer are supported
//Manually maintained attributes
Expand All @@ -14,6 +15,11 @@

*{component-header}*

[NOTE]
====
This component is deprecated since Camel 4.19 and will be removed in a future release.
====

The Splunk component provides access to
http://docs.splunk.com/Documentation/Splunk/latest[Splunk] using the
Splunk provided https://github.com/splunk/splunk-sdk-java[client] api,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
package org.apache.camel.component.splunk;

@Deprecated(since = "4.19")
public enum ConsumerType {
NORMAL,
REALTIME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.apache.camel.util.ObjectHelper;

@Deprecated(since = "4.19")
public class DefaultSplunkConfigurationFactory implements SplunkConfigurationFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
package org.apache.camel.component.splunk;

@Deprecated(since = "4.19")
public enum ProducerType {
TCP,
SUBMIT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* Represents the component that manages {@link SplunkEndpoint}.
*/
@Component("splunk")
@Deprecated(since = "4.19")
public class SplunkComponent extends HealthCheckComponent {

@Metadata(label = "advanced")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.camel.util.ObjectHelper;

@UriParams
@Deprecated(since = "4.19")
public class SplunkConfiguration {

private SplunkConnectionFactory connectionFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.util.Map;

@Deprecated(since = "4.19")
public interface SplunkConfigurationFactory {

SplunkConfiguration parseMap(Map<String, Object> parameters);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Deprecated(since = "4.19")
public class SplunkConnectionFactory {
private static final Logger LOG = LoggerFactory.getLogger(SplunkConnectionFactory.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
/**
* The Splunk consumer.
*/
@Deprecated(since = "4.19")
public class SplunkConsumer extends ScheduledBatchPollingConsumer {

private static final Logger LOG = LoggerFactory.getLogger(SplunkConsumer.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
*/
@UriEndpoint(firstVersion = "2.13.0", scheme = "splunk", title = "Splunk", syntax = "splunk:name",
category = { Category.IOT, Category.MONITORING })
@Deprecated(since = "4.19")
public class SplunkEndpoint extends ScheduledPollEndpoint implements EndpointServiceLocation {

private static final Logger LOG = LoggerFactory.getLogger(SplunkEndpoint.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
/**
* The Splunk producer.
*/
@Deprecated(since = "4.19")
public class SplunkProducer extends DefaultProducer {
private static final Logger LOG = LoggerFactory.getLogger(SplunkProducer.class);
private SplunkEndpoint endpoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;

@Deprecated(since = "4.19")
public class SplunkEvent implements Serializable {

// ----------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import org.apache.camel.component.splunk.event.SplunkEvent;

@Deprecated(since = "4.19")
public interface DataWriter {
void write(SplunkEvent data) throws Exception;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Deprecated(since = "4.19")
public class SplunkDataReader {
private static final Logger LOG = LoggerFactory.getLogger(SplunkDataReader.class);
private static final String DATE_FORMAT = "MM/dd/yy HH:mm:ss:SSS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Deprecated(since = "4.19")
public abstract class SplunkDataWriter implements DataWriter {
private static final Logger LOG = LoggerFactory.getLogger(SplunkDataWriter.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Processes splunk results
*/
@Deprecated(since = "4.19")
public interface SplunkResultProcessor {
void process(SplunkEvent splunkData);
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Deprecated(since = "4.19")
public class StreamDataWriter extends SplunkDataWriter {
private static final Logger LOG = LoggerFactory.getLogger(StreamDataWriter.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.splunk.Service;
import org.apache.camel.component.splunk.SplunkEndpoint;

@Deprecated(since = "4.19")
public class SubmitDataWriter extends SplunkDataWriter {
private String index;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.splunk.TcpInput;
import org.apache.camel.component.splunk.SplunkEndpoint;

@Deprecated(since = "4.19")
public class TcpDataWriter extends SplunkDataWriter {
private int port;
private Optional<Integer> localPort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,10 @@ All properties default to `0`, which means the Apache MINA SSHD defaults are use

The older logic used for MDC (enabled via `camel.main.useMdcLogging = true`) is deprecated in favor of `camel-mdc` component.

=== camel-splunk (Deprecation)

The `camel-splunk` component is deprecated. The Splunk Java SDK it depends on is no longer actively maintained.

=== camel-tracing (Deprecation)

The `camel-tracing` and related components (`camel-opentelemetry` and `camel-observation`) are now deprecated. You should move your implementation to the newer `camel-telemetry` components (`camel-opentelemetry2` and `camel-micrometer-observability`). We have implemented these new components in order to fix certain design flaws (mainly, span duplications) identified in the older components.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15149,6 +15149,7 @@ public static SolrEndpointBuilderFactory.SolrEndpointBuilder solr(String compone
* @param path name
* @return the dsl builder
*/
@Deprecated
public static SplunkEndpointBuilderFactory.SplunkEndpointBuilder splunk(String path) {
return splunk("splunk", path);
}
Expand All @@ -15170,6 +15171,7 @@ public static SplunkEndpointBuilderFactory.SplunkEndpointBuilder splunk(String p
* @param path name
* @return the dsl builder
*/
@Deprecated
public static SplunkEndpointBuilderFactory.SplunkEndpointBuilder splunk(String componentName, String path) {
return SplunkEndpointBuilderFactory.endpointBuilder(componentName, path);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,7 @@ public interface SplunkBuilders {
* @param path name
* @return the dsl builder
*/
@Deprecated
default SplunkEndpointBuilder splunk(String path) {
return SplunkEndpointBuilderFactory.endpointBuilder("splunk", path);
}
Expand All @@ -1881,6 +1882,7 @@ default SplunkEndpointBuilder splunk(String path) {
* @param path name
* @return the dsl builder
*/
@Deprecated
default SplunkEndpointBuilder splunk(String componentName, String path) {
return SplunkEndpointBuilderFactory.endpointBuilder(componentName, path);
}
Expand Down
Loading