maven-parent

this is parent project

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.github.zipu888
Идентификатор

Идентификатор

maven-parent
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

maven-parent
this is parent project
Ссылка на сайт

Ссылка на сайт

http://github.com/zipu888
Система контроля версий

Система контроля версий

https://github.com/zipu888/push-msg-web.git

Скачать maven-parent

Имя Файла Размер
maven-parent-1.0.pom 11 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.zipu888/maven-parent/ -->
<dependency>
    <groupId>com.github.zipu888</groupId>
    <artifactId>maven-parent</artifactId>
    <version>1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.zipu888/maven-parent/
implementation 'com.github.zipu888:maven-parent:1.0'
// https://jarcasting.com/artifacts/com.github.zipu888/maven-parent/
implementation ("com.github.zipu888:maven-parent:1.0")
'com.github.zipu888:maven-parent:pom:1.0'
<dependency org="com.github.zipu888" name="maven-parent" rev="1.0">
  <artifact name="maven-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.zipu888', module='maven-parent', version='1.0')
)
libraryDependencies += "com.github.zipu888" % "maven-parent" % "1.0"
[com.github.zipu888/maven-parent "1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

push-msg-web

这个项目为了解决项目中 web应用的实时消息推送而创建

使用了 cometd spring kafka redis

  • cometd 用来推送
  • spring 用来集成
  • kafka 用来接受业务系统需要推送的消息
  • redis 用来绑定cometd用户和业务用户的关系 用来推送给特定的人
  • 利用cometd的channel 来实现批量推送
程序逻辑

利用kafka接受需要推送的消息,通过cometd来推送出去,cometd推送支持long poling 和 websocket方式

######注意

本工程只测试 long poling方式 cometd框架是算学算用,欢迎来喷 项目用的一些jar无法开源出来,你可以把redis和kafka换成自己的实现

Test

Версии библиотеки

Версия
1.0