Giter Club home page Giter Club logo

datarangers-sdk-java's Introduction

DataRangers

项目背景

datarangers-sdk-java 是 DataFinder 的用户行为采集服务端SDK。

服务端埋点支持在客户的服务端进行埋点采集和上报,作为客户端埋点的补充或替代,其支持的典型场景包括:

  1. 客户端埋点+服务端埋点组合:该场景下,服务端埋点一般用来弥补客户端埋点覆盖不到的部分数据,是目前最常见的使用场景。
  2. 纯服务端埋点:所有的埋点收集和上报都由服务端完成,需要的客户端数据则由服务端收集和提取后上报到DataRangers。

使用方法

1. 引入jar包

如果您需要使用Java SDK,首先需要在pom文件中引入对应的jar:

<dependency>
  <groupId>com.datarangers</groupId>
  <artifactId>datarangers-sdk-core</artifactId>
  <version>1.5.6-release</version>
</dependency>

火山引擎仓库地址:

<repositories>
  <repository>
    <id>bytedance-volcengine</id>
    <name>bytedance Volcengine</name>
    <url>https://artifact.bytedance.com/repository/Volcengine/</url>
  </repository>
</repositories>

2. 使用方式

参考官方文档 DataFinder

3. Demo

参考 datarangers-sdk-example 代码样例

注意事项

  • 当前sdk版本没有主动清理日志的功能,需要手动清理日志
  • 上报事件,需要注意下事件发生时间

License

Copyright 2020 Beijing Volcano Engine Technology Co., Ltd.

Licensed 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.

datarangers-sdk-java's People

Contributors

zhangpengspin avatar htangle avatar jerryqi7 avatar taojian-byte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.