登录
首页 » java » Apache Kafka 源码

Apache Kafka 源码

于 2023-07-25 发布 文件大小:641.05 kB
0 94
下载积分: 2 下载次数: 1

代码说明:

Apache Kafka是一个分布式的流数据平台,在流数据处理系统中的消息中间件。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android open gl 示例代码下载
    [实例简介]Open GL 入门级示例 [实例截图] [核心代码]package com.china.gltry;import javax.microedition.khronos.egl.EGL10;import javax.microedition.khronos.egl.EGL11;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.egl.EGLContext;import javax.microedition.khronos.egl.EGLDisplay;import javax.microedition.khronos.egl.EGLSurface;import javax.microedition.khronos.opengles.GL;import android.view.SurfaceHolder;/** * An EGL helper class. */public class EGLHelper{ public EGLHelper() { } /** * Initialize EGL for a given configuration spec. * @param configSpec */ public void start(int[] configSpec){ /* * Get an EGL instance */ mEgl = (EGL10) EGLContext.getEGL(); /* * Get to the default display. */ mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); /* * We can now initialize EGL for that display */ int[] version = new int[2]; mEgl.eglInitialize(mEglDisplay, version); EGLConfig[] configs = new EGLConfig[1]; int[] num_config = new int[1]; mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, num_config); mEglConfig = configs[0]; /* * Create an OpenGL ES context. This must be done only once, an * OpenGL context is a somewhat heavy object. */ mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); mEglSurface = null; } /* * Create and return an OpenGL surface */ public GL createSurface(SurfaceHolder holder) { /* * The window size has changed, so we need to create a new * surface. */ if (mEglSurface != null) { /* * Unbind and destroy the old EGL surface, if * there is one. */ mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); } /* * Create an EGL surface we can render into. */ mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, holder, null); /* * Before we can issue GL commands, we need to make sure * the context is current and bound to a surface. */ mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); GL gl = mEglContext.getGL(); return gl; } /** * Display the current render surface. * @return false if the context has been lost. */ public boolean swap() { mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); /* * Always check for EGL_CONTEXT_LOST, which means the context * and all associated data were lost (For instance because * the device went to sleep). We need to sleep until we * get a new surface. */ return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; } public void finish() { if (mEglSurface != null) { mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); mEglSurface = null; } if (mEglContext != null) { mEgl.eglDestroyContext(mEglDisplay, mEglContext); mEglContext = null; } if (mEglDisplay != null) { mEgl.eglTerminate(mEglDisplay); mEglDisplay = null; } } EGL10 mEgl; EGLDisplay mEglDisplay; EGLSurface mEglSurface; EGLConfig mEglConfig; EGLContext mEglContext;}
    2015-04-06下载
    积分:1
  • 才用java技术开发的程序,用于读取excel文件,方便程序开发人员开发操作excel文件...
    才用java技术开发的程序,用于读取excel文件,方便程序开发人员开发操作excel文件
    2022-06-16 14:44:04下载
    积分:1
  • DoubleDatePicker-master
    在安卓开发中,会碰到选开始日期和结束日期的问题。特别是在使用Pad时,如果弹出一个Dialog,能够同时选择开始日期和结束日期,那将是极好的。我在开发中在DatePickerDialog的基础上做了修改,实现了这种Dialog。(Andrews Date Picker)
    2015-10-20 22:22:53下载
    积分:1
  • guurnThis
    这是一个实现CS多线程的程序的源码,编写精巧,便于学习(This is an implementation of CS multithreaded program source code, write delicate, easy to learn)
    2017-05-30 19:08:17下载
    积分:1
  • road
    说明:  基于java web的轻量级城镇道路养护管理系统(Lightweight urban road maintenance management system based on Java Web)
    2020-03-07 15:34:26下载
    积分:1
  • java 操作短消息api,有5个列子工大家参考.
    java 操作短消息api,有5个列子工大家参考.-java operator SMS api, there are five U.S. workers Liezi reference.
    2022-06-26 23:19:15下载
    积分:1
  • JavahttpDownload
    使用Java实现http多线程下载,同时支持断点下载(Java implementation using multi-threaded http download)
    2009-04-07 21:02:12下载
    积分:1
  • IEEE-2012-2
    cloud computing base papers
    2012-08-18 18:46:50下载
    积分:1
  • 计算器源代码!功能基本实现,并得到一些优化。
    计算器源代码!功能基本实现,并得到一些优化。-Calculator source code! Realize the basic functions, and some optimization.
    2022-02-14 11:41:06下载
    积分:1
  • googleinterview
    google的一道JAVA面试题,有人用c写了一个,得出这些结果只用了几十毫秒!   有更好思路的可以讨论讨论。(google for a JAVA face questions, someone wrote a c obtained these results only dozens of milliseconds! Have a better idea of the discussion can be discussed.)
    2010-06-13 13:57:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载